~/talk

KLP for Clang LTO Kernel

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15· [devops-and-delivery]
links:none on file
slides:none on file

Clang LTO live patching runs on top of kpatch by comparing linker-produced pre-link objects instead of the full vmlinux, using clang’s lto object-pass dump to dumped ~2000 internal .o files and then running objtool and the usual diff flow; linking vmlinux.o directly takes >10 hours for vmlinux.o so the dump trick makes patch generation feasible. LTO adds special symbols and duplicated comment sections that kpatch must ignore; PG is in production 2+ years, LTO rollout hits ~50k nodes and sampled-LBR PGO so far underperforms instrumentation.

AI-written summary · about

  1. 0:00Introduction to KLP with Clang LTO
  2. 2:55LTO workflow and KP integration
  3. 7:17KP changes for LTO and PGO support
  4. 12:47IBT challenges with live patching
  5. 18:17Future of KP and alternatives
  6. 20:45Q&A and next steps
~/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.