Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

External Locking for Internally Synchronized Data Structures

Linux Plumbers Conference via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore advanced Rust programming techniques for kernel development in this 19-minute conference talk from the Linux Plumbers Conference. Delve into the challenges of implementing external locking mechanisms for internally synchronized C kernel data structures when exposed to Rust code, particularly focusing on structures like XArray that require internal synchronization. Learn how traditional C approaches to temporarily unlocking during memory allocation create unique problems in Rust due to mutable borrowing constraints through lock guards. Discover the innovative Rust API solution presented at Kangrejos that enables external lock usage while maintaining the ability to momentarily drop locks for memory allocation purposes. Examine how this approach addresses race condition handling during lock drops and its impact on data structures implementing the Entry pattern. Review benchmark results from actual kernel code implementations rather than theoretical examples, and participate in community discussions aimed at refining the external locking API before patches are submitted for review.

Syllabus

External locking for internally synchronized data structures - Mr Andreas Hindborg (Samsung)

Taught by

Linux Plumbers Conference

Reviews

Start your review of External Locking for Internally Synchronized Data Structures

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.