Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265306AbUATKEj (ORCPT ); Tue, 20 Jan 2004 05:04:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265334AbUATKEj (ORCPT ); Tue, 20 Jan 2004 05:04:39 -0500 Received: from gprs214-67.eurotel.cz ([160.218.214.67]:13184 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S265306AbUATKEh (ORCPT ); Tue, 20 Jan 2004 05:04:37 -0500 Date: Tue, 20 Jan 2004 11:04:05 +0100 From: Pavel Machek To: Geert Uytterhoeven Cc: Benjamin Herrenschmidt , ncunningham@users.sourceforge.net, Hugang , ncunningham@clear.net.nz, Linux Kernel Mailing List , Debian GNU/Linux PPC Subject: Re: Help port swsusp to ppc. Message-ID: <20040120100405.GB183@elf.ucw.cz> References: <20040119105237.62a43f65@localhost> <1074483354.10595.5.camel@gaston> <1074489645.2111.8.camel@laptop-linux> <1074490463.10595.16.camel@gaston> <20040119204551.GB380@elf.ucw.cz> <1074555531.10595.89.camel@gaston> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1030 Lines: 26 Hi! > > > Well, then what you do is not swsusp. > > > > > > swsusp does assume same kernel during suspend and resume. Doing resume > > > within bootloader (and thus avoiding this) would be completely > > > different design. > > > > Wait... what the hell in swsusp requires this assumption ? It seems to > > me like a completely unnecessary design limitation. > > Swsusp saves the data structures from the suspended kernel, so they have to > match the data structures of the resumed kernel, right? Well, *all* the data pages are saved, so that would be okay (even if they changed, as I'm replacing all the data pages, that should work), but I'm not saving kernel text for example. Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - 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/