~/talk

PREEMPT_RT - how not to break it.

links:none on file
slides:none on file

Printk and console output can block interrupts long enough to kill RT goals: 20 characters ≈ 0.5 ms printing so the kernel needs a way to log without disabling IRQs. Waking many tasks or queuing lots of work produces huge tails — 100 wakes → 26 µs, 500 → 75 µs, 5,000 → >4 ms latency. Raw spinlock contention across many CPUs hands locks around and delays worst-case CPUs — raw spinlock handover delays. Avoid long atomic/IRQ-disabled regions, anonymous semaphores, and untracked workqueues; use RT-aware primitives, affinity or offload, and priority inheritance where supported.

AI-written summary · about

  1. 0:00Introduction to PREEMPT_RT
  2. 8:34Locking scope and usage
  3. 15:47Log ordering and printk challenges
  4. 21:28Console printing latency issues
  5. 23:42Long computations and list processing
  6. 24:26Contended raw spin locks impact
  7. 25:09Task wake-up latency with nanosleep
  8. 26:40Priority inheritance in RT
  9. 28:50Lock types and owner tracking
  10. 30:37Userland priority boosting
  11. 31:19Soft IRQ and CPU affinity issues
  12. 33:08Deferred work with disabled interrupts
  13. 33:51Tasklets vs. soft IRQ for latency
  14. 34:33Workqueues and anonymous work
  15. 35:15TTY layer worker queue problems
  16. 36:18Common pitfalls breaking RT
  17. 37:26New primitives and synchronization
  18. 38:08Summary and closing remarks
  19. 38:33Q&A on PREEMPT_RT patches
~/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.