News for hackers. Stuff that matters.
Re:Phantom OS by checker659 on Friday March 25, 2022 @09:51PM (#30808624)
How is that any different from hibernation?
Re:Phantom OS by jonhohle on Friday March 25, 2022 @10:21PM (#30808746)
Memory isn’t snapshotted and dumped, then restored by the OS in a way that user space is largely unaware.

macOS/iOS has adopted a model of giving apps an opportunity to persist their own state before being terminated (which may be eagerly to reduce memory pressure or power consumption, for example) and then have the application restore its own state in whatever way is appropriate.

Outside of containers, hibernation almost needs to be a system-wide operation, which makes it inappropriate for OS updates, restoring from crashes (which, I suppose is what Phantom OS is trying to resolve), or hardware changes.

Re:Phantom OS by zozbot234 on Saturday March 26, 2022 @07:09AM (#30810842)
Note that "containers" is basically kernel-implemented namespaces, which is why a containerized app can be checkpointed and restored independently: they can preserve the semantics of kernel resources across runs. You could have just about any arbitrary app running in a "container" with it being none-the-wiser about it: it doesn't necessarily impact userspace support.