~/talk

Low-overhead memory allocation tracking

links:none on file
links:none on file
slides:none on file

Static code-tagging allocates per-callsite structs in a special ELF section and instruments slab and page allocators to increment/decrement counters, storing per-allocation pointers via page extension and slab object extensions. It adds optional context capture to record timestamps, PID and kernel call stacks for hot or leaking sites, and supports per-site fault injection and always-on latency stats (“traffic lights”). Overhead is boot-time/configurable, needs CONFIG_DEBUG_INFO for file:line, and enabling page extensions to track page allocations; proposal also reserves extra errno space for unique error codes.

AI-written summary · about

  1. 0:00Introduction to code tagging
  2. 1:25Kernel static structure allocation
  3. 2:08Memory allocation tracking
  4. 4:40Context capture for leak detection
  5. 7:49Fault injection with allocation tagging
  6. 9:13Latency tracking for events
  7. 12:31Unique error codes per site
  8. 16:24Memory overhead and config options
  9. 21:46Dependency on page extensions
  10. 23:10Production kernel considerations
~/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.