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

Linux Foundation

Kernel Locking Engineering - Principles and Patterns

Linux Foundation via YouTube

Overview

Explore kernel locking engineering principles and patterns in this 40-minute Linux Foundation conference talk by Daniel Vetter from Intel. Learn about priorities in locking engineering, the importance of correct code, and the principle of protecting data rather than code. Dive into a hierarchy of locking and data protection schemes, starting from the simplest to the most complex. Discover common pitfalls and antipatterns, such as object lifetime vs. data consistency issues. Examine lockless tricks and a case study on atomic modeset. Gain valuable insights from over a decade of driver subsystem maintainer experience to make informed design decisions for concurrent code in the Linux kernel.

Syllabus

Intro
Priorities in Locking Engineering
Use Correct Code
Pinciple: Protect Data, not Code
Locking Engineering Hierarchy
Level 0: No Locking
Level 2: Fine-grained Locking
Locking Antipattern: Object Lifetime vs Data Consistency
Lockless Tricks
Case Study: Atomic Modeset

Taught by

Linux Foundation

Reviews

Start your review of Kernel Locking Engineering - Principles and Patterns

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.