From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: suspend.c vs driver-model.txt Date: Mon, 29 Jul 2002 19:33:02 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20020729173302.30557@192.168.4.1> References: <20020729175650.GA1233@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20020729175650.GA1233-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Pavel Machek Cc: Patrick Mochel , Lyle , acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org List-Id: linux-acpi@vger.kernel.org >Discussing with who? We had a Power Management BOF there, among others, Patrick Mochel, Greg KH, Andy, Paulus, Jeff Garzik, ... >Its rather simple: free half of memory, stop everything, save device >state, copy used memory into free memory, continue devices, save data >from "free" memory into swap. Ok, so you first push as much as you can to swap to free half of memory. Then, when you say you copy used memory, I assume you copy all of RAM including kernel memory (kernel data structures etc...) right ? What do you mean by "stop everything" ? Stop user processes ? Kernel threads ? both ? Then, you only save device state (and then suspend devices) after you have "stopped everything" ? Ben. ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31