~/talk

Rethinking Android's Priority Inheritance

Talkat Linux Plumbers Conference 2025 · 2025-12-11..12-13
links:none on file
slides:none on file

Binder currently inherits CFS niceness inheritance, which feeds static nice values into CFS/EVDF and produces inconsistent scheduling behavior; an out‑of‑tree real‑time inheritance patch exists but is rejected because it also demotes tasks, enforces a surprising default priority and relies on a problematic minimum node priority policy. The workable path is to express the blocked‑on dependency to kernel PI (RT mutex/PI conv or libRTPI) and move node prioritization into user‑space thread pools.

AI-written summary · about

  1. 0:00Introduction to Binder
  2. 2:27Priority inheritance basics
  3. 3:52CFS inheritance problems
  4. 7:12Real-time inheritance approach
  5. 8:16Out-of-tree patch issues
  6. 10:22Node priority conflicts
  7. 13:34Proxy execution challenges
  8. 15:18RT mutex and blocked relationships
  9. 18:07API design and alternatives
  10. 20:38LibRTPI and future goals
  11. 21:00Conclusion and Q&A
~/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.