~/talk

Scalability solutions for the mmap_lock - Maple Tree and per-VMA locks

Talkat Linux Plumbers Conference 2022 · 2022-09-12..09-14· [concurrency]
links:none on file
links:none on file
links:none on file
slides:none on file

Replaces the three VMA tracking structures with a single maple tree to enable lockless VMA lookups (not RCU-safe yet) and introduces per-VMA seqcounters so a transaction marks many VMAs by assigning the same sequence number and later unmarks them in one step. Adds a speculative page-fault path (SPF speculative page faults) that commits without taking mmap_lock; Android tests show <0.01% fallback to the old path for anonymous non-swapped pages. Remaining risks: multi-VMA transactions, large single VMAs, and exit-time regressions (bulk free mitigates some).

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:51Maple trees for VMA management
  3. 4:21Speculative page faults progress
  4. 6:53Per-VMA lock proposal
  5. 13:24Large VMA challenges
  6. 20:37Testing and feedback requests
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.