Re: [swsusp] Re: swsusp for 2.4.14

From: Jeff Dike (jdike@karaya.com)
Date: Wed Nov 21 2001 - 13:53:13 EST


pavel@suse.cz said:
> Yep, I'd like to see it. [The way uml is setup with one uml kernel
> running in *many* real processes, saving/restoring cpu state is not
> going to be easy.]

It won't be horrible. You have to recreate all the processes (and getting
their address spaces mapped correctly should be easy) and get them all
ptraced by the tracing thread. UML processes which are CLONE_VM are also
CLONE_VM on the host, so that will take a little bit of care.

Devices will need to be reopened as well.

                                Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:28 EST