~/talk

Linux Kernel Live Patching

Talkat KubeCon + CloudNativeCon China 2019 · on Monday, 2019-06-24· [devops-and-delivery]
links:none on file
slides:none on file

Describes a live kernel patching method that replaces whole functions at runtime to avoid reboots, using ftrace fentry for redirection and stop_machine plus stack walking to guarantee no patched function is on any task stack, with generated patch modules and kpatch packaging. Notes a measured overhead up to 30% when using heavy tracing, recommends switching tracing modes, and shows a real fix that restores creation of >65,000 cgroups/containers without reboot. Limitations include no structural feature adds and manual handling for complex data-structure changes via shadow variables.

AI-written summary · about

  1. 0:00Intro
  2. 0:15What is live patching
  3. 2:15Why live patching
  4. 5:50FTrace
  5. 7:57Scheduling
  6. 9:10Schedule Function
  7. 10:58Stop Machine
  8. 13:48Before Patching
  9. 14:42Security Check
  10. 15:44Verify Backtrace
  11. 18:29Generating Live Patching
  12. 19:38Review
  13. 21:01Demo
  14. 26:40QA
~/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.