• @[email protected]
      link
      fedilink
      333 days ago

      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?

    • @[email protected]
      link
      fedilink
      73 days ago

      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 https://youtu.be/SYRlTISvjww

    • @[email protected]
      link
      fedilink
      English
      83 days ago

      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
        link
        fedilink
        English
        63 days ago

        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.

  • Ephera
    link
    fedilink
    English
    233 days ago

    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.

      • Ephera
        link
        fedilink
        English
        52 days ago

        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.

  • @[email protected]
    link
    fedilink
    243 days ago

    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.

  • @[email protected]
    link
    fedilink
    52 days ago

    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).

  • Lung
    link
    fedilink
    193 days ago

    What the fuck this is the best idea ever