~/talk

PREEMPT_RT - How Not to Break It.

links:none on file
slides:none on file

PREEMPT_RT is almost mainlined on x86 but merging exposes real problems: many spinlocks become sleeping locks so locking semantics change, threaded IRQs become default, and a global softirq/bottom-half lock creates multi-millisecond stalls. Concrete fixes include rt_spinlock_t changes with auto-preempt, moving HR timers into softirq context, RCU boost and per-resource softirq locks, and priority inheritance for mutexes. Repro cases show clock_nanosleep wake latency rising from ~26 µs at 100 tasks to ~4 ms at 5,000 tasks. Use tracing and rtla tracing tool plus cyclictest to find root causes.

AI-written summary · about

  1. 0:00Motivation for RT Mainlining
  2. 1:08Locking mechanisms in RT
  3. 4:37Interrupt and softirq handling
  4. 7:48Timer and wakeup adjustments
  5. 9:21Interrupt work and printk
  6. 10:51RCU callback management
  7. 12:14Solving atomic context issues
  8. 15:34Lock ordering and primitives
  9. 17:30Debugging kernel warnings
  10. 19:08Memory allocation constraints
  11. 20:40Console printing and latency
  12. 23:32System latency analysis
  13. 27:42Using RTLA for debugging
  14. 29:01Priority inheritance
  15. 34:05Softirq resource protection
  16. 37:49Context and task worker issues
  17. 39:12Best practices 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.