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 a conference talk addressing the challenge of mmap_sem contention in large-scale systems with thousands of CPUs. Delve into various attempts to mitigate this issue, including Speculative Page Fault, RangeLock, and Scalable Address Spaces Using RCU Balanced Trees. Examine the emerging solution discussed at the Linux Plumbers Conference 2019, which proposes a split lock mechanism similar to PTE locking. Learn about the potential use of Maple Trees to replace VMA RB trees and double-linked lists. Gain insights into VMA rules, locking strategies, and the complexities of memory management in multi-threaded environments. Understand the challenges and proposed solutions for improving scalability in Linux memory management for high-performance computing systems.

Syllabus

Introduction
VMA Rules
Locking the VMA
No existing VMA
Mapping is painful
Extending the VMA
VMA lock structure
VMA lock for readers
VMA lock for proc
Switching VMA
Finding a gap
Locking
One lock
Hazards
Plans
VMA

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.