~/talk

printk() - The Most Useful Tool is Now Showing its Age

links:none on file
slides:none on file

printk is the kernel printf that still uses a single fixed-size ring buffer with log levels 1–8 and metadata, and its 1998 spinlock introduced in 1998 plus the later console_lock serializes output and can live-lock one CPU make high‑CPU systems stall when many CPUs emit logs; the codebase evolves (2012 message layout, exclusive_console in 2011) and fixes include per-CPU buffers + irq_work to flush promptly and an NMI-safe path and printk_safe multiplexer that reduce but do not fully eliminate lost or blocking output on panic.

AI-written summary · about

  1. 0:00Start
  2. 16:18The Council Lock Variable
  3. 28:34Zap Locks
  4. 42:11When Does Print K Not Work
~/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.