News for hackers. Stuff that matters.
Re:Linux as co-operative Windows process by WesolyKubeczek on Sunday February 09, 2025 @10:49AM (#42991381)
A shame, true, imagine having a whole Linux kernel as a macOS binary, running Linux containers with as little overhead as possible.
Re:Linux as co-operative Windows process by bigbones on Sunday February 09, 2025 @10:56AM (#42991420)
UML and "as little overhead as possible" probably shouldn't appear in the same train of thought. I remember it from the very earliest Linux VPS providers, IIRC it only got semi-usable with some custom work (google "skas3 patch"), prior to which it depended on a single process calling ptrace() on all the usermode processes to implement the containerization. And there's another keyword that should never appear alongside low overhead in the same train of thought
Re:Linux as co-operative Windows process by tliltocatl on Monday February 10, 2025 @04:44AM (#42998624)
Page-grained mappings UML does make for tons of overhead. AFAIR Linux even considered a specialized reverse page mapping structure just to accelerate those, but ultimately dropped it because of memory overhead and code complexity.

Realistically, the overhead isn't ever going to be lower than hardware virtualization unless one goes for an API proxy a-la wine and WSL1 - but that's tons of work.