~/talk

Let the Kernel Monitor Your Real-Time Application

links:none on file
slides:none on file

A runtime verifier called RT app monitor lives in mainline (introduced 6.17, production-safe to compile in from 7.3) and checks real-time tasks for page faults, illegal sleeping/waking, wrong nanosleep usage, and missing priority-inheritance on mutexes; activation is two simple kernel writes (choose the printk reactor and echo 1) and violations appear in dmesg, with perf able to capture full backtraces. It finds concrete failures: timerfd on PREEMPT_RT wakes from ktimers (prio 1) causing inversion, pipes/unix sockets/io_uring block writers and risk inversion; use clock_nanosleep, eventfd, shared memory, or larger buffers instead.

AI-written summary · about

  1. 0:00Introduction to real-time monitoring
  2. 4:55Event flow and priority inversion risks
  3. 5:56Runtime verification concept
  4. 8:01Enabling the RT app monitor
  5. 9:48Using perf for detailed traces
  6. 10:51Timerfd issues in PREEMPT_RT
  7. 13:57Clock nanosleep as safe alternative
  8. 15:00Pipe IPC priority inversion
  9. 18:50Unix domain sockets analysis
  10. 20:15IO_uring violations overview
  11. 22:42Kernel-level pitfalls summary
  12. 23:44Production kernel integration
  13. 24:04Real-time Linux community resources
  14. 25:10glibc condition variable fixes
  15. 26:52Tracing method comparison
  16. 27:54Socket CAN monitoring efforts
  17. 28:41Q&A: Production overhead concerns
  18. 30:25Q&A: System-wide vs per-process monitoring
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.