~/talk

Status Report: Broken Dependency Orderings in the Linux Kernel

links:none on file
links:none on file
slides:none on file

A compiler-integrated checker named lkm dependency checker annotates LLVM IR in an annotation pass and later verifies those annotations in a verification pass to detect broken address and control dependencies that can let weakly-ordered CPUs observe illegal reorderings. It already finds real kernel cases: an assignment of &migrate_node that the optimizer drops, and an RCU return value replaced by a placeholder, both breaking address dependencies interprocedurally. Control-dependency detection is WIP, back-end/LTO and loops cause gaps, and false positives remain a practical limitation.

AI-written summary · about

  1. 0:00Introduction
  2. 0:23Linux kernel memory model
  3. 1:49Dependency ordering fears
  4. 3:59Dependency checker design
  5. 5:44Address dependencies explained
  6. 10:17Real kernel code example
  7. 12:41Control dependencies overview
  8. 15:49Control dependency challenges
  9. 23:57Defining control dependencies
  10. 26:47Breaking control dependencies
  11. 29:37Evidence of problems
  12. 31:45Tool limitations
  13. 32:50Future plans
  14. 33:57Q&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.