Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 21 Nov 2001 12:35:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 21 Nov 2001 12:35:46 -0500 Received: from mnh-1-04.mv.com ([207.22.10.36]:32519 "EHLO ccure.karaya.com") by vger.kernel.org with ESMTP id ; Wed, 21 Nov 2001 12:35:31 -0500 Message-Id: <200111211853.NAA03050@ccure.karaya.com> X-Mailer: exmh version 2.0.2 To: Pavel Machek cc: Adam Feuer Cc: Alan Cox , Swsusp mailing list , ACPI mailing list , kernel list , Gabor Kuti Subject: Re: [swsusp] Re: swsusp for 2.4.14 In-Reply-To: Your message of "Wed, 21 Nov 2001 16:46:20 +0100." <20011121164620.D31379@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Nov 2001 13:53:13 -0500 From: Jeff Dike Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/