News for hackers. Stuff that matters.
Re:Kernel: Introduce Multikernel Architecture Support by yalogin on Friday September 19, 2025 @09:14PM (#45308846)
It’s not clear to me but do these kernels run directly on the hardware? If so how are they able to talk to each other, DMA? That could open up some security flaws, hopefully they thought through that
Re:Kernel: Introduce Multikernel Architecture Support by agentkilo on Friday September 19, 2025 @09:44PM (#45309225)
IIUC, yes, all the kernels involved run directly on the hardware, in a "cooperative" way, i.e. they must agree on not touching others' memory regions.

I think the architecture assumes all loaded kernels are trusted, and imposes no isolation other than having them running on different CPUs.

Given the (relative) simplicity of the PoC, it could be really performant.

Re:Kernel: Introduce Multikernel Architecture Support by yjftsjthsd-h on Friday September 19, 2025 @09:48PM (#45309270)
Can't the kernel set up hardware-backed memory maps to partially blind itself to other memory regions? (Only "partially" because even then I expect it could just change the mappings, but it's still a protection against accidental corruption)
Re:Kernel: Introduce Multikernel Architecture Support by p_l on Monday September 22, 2025 @04:28AM (#45330577)
That's standard part of setups like that, the cooperative aspect is that they have to set the memory map so they don't overlap.
Re:Kernel: Introduce Multikernel Architecture Support by yalogin on Friday September 19, 2025 @09:46PM (#45309255)
Wonder what the use cases are. Doesn’t feel like the kernels are hotswappable, so why is it preferred over VMs?
Re:Kernel: Introduce Multikernel Architecture Support by yxhuvud on Saturday September 20, 2025 @12:55AM (#45310511)
If nothing else, it is a path to making them hotswappable.