[klibc] suspend to disk & early userspace
Pat Mochel
mochel at osdl.org
Sat Nov 29 12:49:49 PST 2003
> > Or lets rephrase: is early userspace executed or not when resuming from
> > suspend to disk?
>
> I don't know. You should really ask Pavel Machek, Pat Mochel or Nigel
> Cunningham what happens. The 2.6 software suspend functionality is
> rather a long way from being documented, and you're surely the first
> person to care about this care.
Early userspace is not running when resume happens. initramfs is mounted
from prepare_namespace() (right?). Resume happens as an initcall, which
are executed from do_basic_setup(), which immediately precedes the call to
prepare_namespace().
Pat
More information about the klibc
mailing list