Re: [swsusp] Re: swsusp for 2.4.14

Pavel Machek (pavel@suse.cz)
Fri, 23 Nov 2001 13:46:40 +0000


Hi!

> > 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.

Yep, its doable, but way harder than other ports where you only have to restore
CPU registers. And yes it would be cool.
Pavel

-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

- 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/