~/talk

PREEMPT_RT - How Not to Break It.

links:none on file
slides:none on file

Mainline readiness for PREEMPT_RT is near for x86 but remaining risks come from assumptions that increase latency: replacing spin_lock_t with sleeping variants and auto-preempt, moving IRQ work and HR timers into threaded/softirq context, adding RCU boost, and avoiding disable-preemption patterns. Measured surprises: 100 clock_nanosleep wakeups add ~26 µs, 1,000 add 347 µs and 5,000 approach 4 ms; UART printk of 20 chars at 115200 stalls ~1.5 ms. Use priority inheritance for locks, avoid workqueues for time‑critical paths, and use the rtla tool for tracing.

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.