~/talk

Hyperscale Kernel Live Patching at Meta

Talkat LinuxCon @ OSS Japan 2022 · 2022-12-05..12-06· [devops-and-delivery]
name:Song Liu
links:none on file
slides:none on file

Meta deploys kernel live patching as RPMs with automated health checks and cumulative patch atomic swaps using the replace flag. Applying a KLP takes 1–2 seconds per host and the fleet rollout now typically completes in a week (hours in extreme cases) across millions of servers. Encountered failures include ksoftirqd starvation from insmod CPU hogging (fixed by adding cond_resched and upstreamed), ftrace/BPF IP-modify conflicts (mitigated in newer kernels), and task transition edge cases that require tracing and upstream fixes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Full reboot
  3. 1:59Pros and cons
  4. 3:14KExec
  5. 3:56Pros Cons
  6. 4:46klp
  7. 10:14Ecosystem
  8. 16:40Challenges
  9. 17:15Bugs
  10. 18:01Problem
  11. 20:35Tracing
~/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.