Kernel: Introduce Multikernel Architecture Support (lwn.net)
from TheTwelveYearOld@lemmy.world to linux@lemmy.ml on 20 Sep 02:06
https://lemmy.world/post/36179988

#linux

threaded - newest

db2@lemmy.world on 20 Sep 02:10 next collapse

Full system updates without a reboot? Sign me up.

funkajunk@lemmy.world on 20 Sep 03:09 next collapse

This truly is God’s country

Hexagon@feddit.it on 20 Sep 10:36 collapse

Keep you imaginary sky daddy out of here, thank you

funkajunk@lemmy.world on 20 Sep 13:36 collapse

<img alt="" src="https://lemmy.world/pictrs/image/fb764b98-f29d-421f-99c7-7f628a01217f.jpeg">

Just a figure of speech 😉

4am@lemmy.zip on 20 Sep 03:16 next collapse

Also sounds like we can run multiple kernels at once during normal operations, to isolate processes.

So, could I run a second kernel for, say, Docker to use? Isolate those containers away from the host system kernel?

Fizz@lemmy.nz on 20 Sep 03:42 collapse

Linux subsystem for linux

panda_abyss@lemmy.ca on 20 Sep 04:41 collapse

You know the very first thing someone is going to do is run Linux in Linux in Linux.

msage@programming.dev on 20 Sep 08:40 collapse

I thought the first would be Doom :(

atzanteol@sh.itjust.works on 20 Sep 05:03 next collapse

This is already possible with kpatch, ksplice, etc. This new thing seems more like a hypervisor of sorts? Or maybe a next level docker where containers could package their own kernel?

kuberoot@discuss.tchncs.de on 20 Sep 10:13 collapse

In-memory kernel patching is complicated, AFAIK only select distributions support it, right? If kernel hotswap is successfully implemented this way, it should allow switching between arbitrary kernels at runtime without extra work or setup.

Of course, that’s a pretty big “if”, but a simple unified system sounds like a great thing. And of course there’s more to this than swapping kernels.

Nibodhika@lemmy.world on 20 Sep 08:15 collapse

Not necessarily, maybe the main kernel has to keep running so you won’t be able to hot swap that (haven’t read the thing yet). In any case we’ve had updates without reboot for a while for a while, but it’s a pain to set up, there’s even a song about it youtu.be/SYRlTISvjww

lung@lemmy.world on 20 Sep 03:49 next collapse

What the fuck this is the best idea ever

themoken@startrek.website on 20 Sep 05:11 next collapse

In a weird way this makes Linux a microkernel. They’re “macro” but isolated and cooperative. Coolest patch set I’ve read about in a while.

Ephera@lemmy.ml on 20 Sep 07:01 next collapse

That’s kind of hilarious. At first we had VMs to run entirely separate operating systems. Then we had Containers to separate everything except the kernel. And now we might get separation for just the kernel.

sik0fewl@lemmy.ca on 20 Sep 21:19 collapse

If I have a container with an isolated kernel, is it just a VM?

Ephera@lemmy.ml on 21 Sep 17:04 collapse

Well, there’s a separate technology stack for virtualization. So, it would be similar in effect, but the way you get there is different, and it’s possible that it performs better or worse for certain scenarios.

fruitycoder@sh.itjust.works on 20 Sep 20:32 collapse

Ok now i just need a wrapper for it so that k8s can load to the side loaded kernel as a virtual(?) node.

Crazy cool to think we can load procs on tuned kernels on demand like that. You could also have an container runtime spec for it if you wanted a kernel per pod kind of deployment (more niche to me though).