July 22, 2015
Related Material:
Additional Participants: Masami Hiramatsu, Kamezawa Hiroyuki,
People tagged: Ingo Molnar, Josh Boyer?,
Jiri Kosina noted that the basic infrastructure for live patching has been merged, but that many loose ends remain. Jiri calls out the following issues:
Masami Hiramatsu suggested that live patching could depend on frame pointers in order improve stack-unwinding reliability, but argues that the “checkpoint” approach is not compatible with the real-time requirements common in process-control applications. Jiri agreed that frame pointers would be a good first step, but added that Josh (Boyer?) is planning to also add DWARF2 CFI support.
Kamezawa Hiroyuki is concerned that FUSE-based filesystems could deadlock with the freezer in cases where the userspace logic had called back into the kernel at the time of the freeze. Jiri Kosina argued that this should not be a problem with freezing, because otherwise similar deadlocks would be seen during hibernation. Kamezawa Hiroyuki replied that this problem had in fact been reported during hibernation, and believes that the workaround is to stop using FUSE before hibernating, either by hand, using scripts, or via systemd. Kamezawa therefore believes that these workarounds are not applicable to live kernel patching, so that some other fix will be required. [ Ed. note: Or prohibit use of FUSE on systems that are to be live patched. ]