SUSE Will Mainline Their kGraft Live Kernel Patching

SUSE engineers will attempt to merge their kGraft live kernel patching mechanism into the mainline Linux kernel.

Back in February kGraft was announced as a research project out of SUSE Labs for live patching a running Linux kernel in a different way than the well known Ksplice alternative for live Linux kernel patching. As I wrote yesterday, SUSE released the source code to kGraft to coincide with the Linux Foundation Collaboration Summit in Napa and the talk they gave there on this new technology.

Vojtěch Pavlík of SUSE was the speaker to share more with kernel developers about kGraft. Those interested in live patching the kernel can find the PDF slides available with all of the details. Some of the key notes from this summit presentation include:

- The advertised benefits of kGraft over other live kernel patching solutions include the kernel not ever needing to be stopped during the patching process, kGraft patch sources can undergo code review, and kGraft is lean. The kGraft source code is small due to leveraging other parts of the Linux kernel.

- A kGraft patch ends up being a .ko kernel module in a KMP RPM that replaces whole functions within the Linux kernel. New RPMs/modules can replace existing kGraft patches.

Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via Twitter and Google+ or contacted via MichaelLarabel.com.