Updating the kernel using CRIU and KExec

This proposal has been accepted as a session.

*

One Line Summary

Pros and cons of replacing the kernel seamlessly to running processes instead of live-patching it.

Abstract

Live-patching the running kernel has its limitations. Instead of doing this one can replace the whole kernel by doing

  • save the state of running processes
  • reboot into new kernel using kexec
  • restore processes from state images

Steps 1 and 3 require the technology called “checkpoint-restore”, which is now becoming available with the CRIU project.

We will discuss the advantages of this approach and its limitations as compared to live-patching, and how kernel can help in optimizing the process.

Tags

kernel, CRIU, upgrade

Presentation Materials

slides

Speaker