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

YouTube

Killing the mmap_sem's Contention

Linux Plumbers Conference via YouTube

Overview

Explore the challenges and potential solutions for addressing mmap_sem contention in large-scale systems during this Linux Plumbers Conference talk. Delve into the complexities of managing memory layouts shared by thousands of CPU threads and examine various attempts to mitigate or eliminate mmap_sem contention. Learn about emerging solutions, including split lock mechanisms and the potential use of Maple Trees to replace VMA data structures. Gain insights into the intricacies of VMA access, locking rules, and the challenges of updating VMA locking in modern computing environments.

Syllabus

Intro
Process's Virtual Memory
VMA's access
VMA's locking rules cont.
VMA Locking cases
Without an existing VMA
VMA locking structure
The get_unmapped_area's case 1/2
The get_unmapped_area's case 2/2
Hazards without the mmap_sem
Updating VMA locking part 1

Taught by

Linux Plumbers Conference

Reviews

Start your review of Killing the mmap_sem's Contention

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.