Can Linux have "transfer data structures to new kernel" rebooting like Minix?

5 vitalmixofntrnt 1 4/8/2025, 3:11:02 PM
Or would that go against the monolithic kernel paradigm of the Linux kernel?

Edit: There's this flag in kexec: "--load-preserve-context Load the new kernel and preserve context of current kernel during kexec."

Comments (1)

LinuxBender · 21d ago
You are describing Kernel Live Patching [1][2][3][4] most commonly used in VPS providers to minimize downtime but keep the fleet patched for security issues. There are some limitations listed in some of the documents below.

[1] - https://wiki.archlinux.org/title/Kernel_live_patching

[2] - https://www.redhat.com/en/topics/linux/what-is-linux-kernel-...

[3] - https://docs.aws.amazon.com/linux/al2023/ug/live-patching.ht...

[4] - https://wiki.alpinelinux.org/wiki/Kernel_live_patching