Atomic Replace / Cumulative Patches Being Worked On For Linux Kernel Livepatching
Written by Michael Larabel in Linux Kernel on 24 March 2018 at 07:07 AM EDT. Add A Comment
It's been a while since last having anything new to report with the mainline Linux kernel's livepatching infrastructure, but some improvements are in the works.

Petr Mladek of SUSE has been picking up the work started by Joe Lawrence at Red Hat for atomic replace functionality for the kernel livepatches in working towards cumulative patch support.

Atomic replace and cumulative patches are designed for the use-case of having multiple patches that need to be applied and where those patches may be touching the same function(s) and thus inter-dependencies between patches. With atomic replace and cumulative patches, it allows replacing an older set of (multiple) patches in one instance rather than replacing patch by patch and needing to ensure the correct ordering, etc.

The cumulative patch documentation describes this new functionality to a greater degree for those livepatching their systems and may be encountering more complex patches where atomic replace / cumulative patches would make the effort easier.

For now this few hundred lines of new kernel code for this livepatch update can be found on the kernel mailing list.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter or contacted via

Popular News This Week