~/talk

Making Sense of State Pruning

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

State pruning reduces BPF verifier path explosion and currently accounts for about 15% of the verifier by saving and comparing states at designated pruning points. Implementations include pruning-point selection, an RU list (recently used states), SCC and liveness analyses, and precise tracking for scalars; stack-slot pruning needs full range analysis so it’s harder. Heuristics (e.g. bounded-loop check: two jumps and eight instructions) evolved over a decade; tooling added includes live-register printing, verifier logs and tests that exposed printing points roughly every four instructions.

AI-written summary · about

  1. 0:00Introduction to state pruning
  2. 1:48Path explosion problem
  3. 3:35Pruning points basics
  4. 7:12State pruning in action
  5. 9:02State equivalence explained
  6. 10:32Modern pruning heuristics
  7. 11:38Register liveness optimization
  8. 13:26How register liveness works
  9. 16:33Impact of liveness on pruning
  10. 18:01Stack slot liveness overview
  11. 19:24Precise tracking introduction
  12. 21:10Marking scalars for precision
  13. 23:59Backtracking precision marks
  14. 25:43State pruning evolution
  15. 27:26Q&A session
~/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.