From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from home.nigel.suspend2.net ([203.171.70.205]) by canuck.infradead.org with esmtp (Exim 4.63 #1 (Red Hat Linux)) id 1IYhQV-0000dH-0X for kexec@lists.infradead.org; Fri, 21 Sep 2007 08:16:10 -0400 From: Nigel Cunningham Subject: Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump Date: Fri, 21 Sep 2007 22:15:54 +1000 References: <1190266447.21818.17.camel@caritas-dev.intel.com> <200709212158.50538.nigel@nigel.suspend2.net> <200709211418.20358.rjw@sisk.pl> In-Reply-To: <200709211418.20358.rjw@sisk.pl> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200709212215.57526.nigel@nigel.suspend2.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org+dwmw2=infradead.org@lists.infradead.org To: "Rafael J. Wysocki" Cc: nigel@suspend2.net, Kexec Mailing List , linux-kernel@vger.kernel.org, "Eric W. Biederman" , Pavel Machek , "Huang, Ying" , Andrew Morton , Len Brown , linux-pm@lists.linux-foundation.org, Jeremy Maitin-Shepard Hi. On Friday 21 September 2007 22:18:19 Rafael J. Wysocki wrote: > On Friday, 21 September 2007 13:58, Nigel Cunningham wrote: > > Hi. > > > > On Friday 21 September 2007 21:56:29 Rafael J. Wysocki wrote: > > > [Besides, the current hibernation userland interface is used by default by > > > openSUSE and it's also used by quite some Debian users, so we can't drop > > > it overnight and it can't be implemented in a compatible way on top of the > > > kexec-based solution.] > > > > Could it be fudged by giving userland a null image and having (say) the first > > ioctl be one that triggers all the real work (with other ioctls being noops > > or such like, as appropriate)? > > Well, the "suspend" part is probably doable, but I'm afraid of the "resume" > one. 'k. I've occasionally thought about trying it, but haven't ever gotten around to actually doing it yet. (I'd like to make TuxOnIce transparently replace both swsusp and uswsusp if I could). Regards, Nigel _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757312AbXIUMQS (ORCPT ); Fri, 21 Sep 2007 08:16:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756353AbXIUMQJ (ORCPT ); Fri, 21 Sep 2007 08:16:09 -0400 Received: from home.nigel.suspend2.net ([203.171.70.205]:34758 "EHLO home.nigel.suspend2.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752243AbXIUMQG (ORCPT ); Fri, 21 Sep 2007 08:16:06 -0400 From: Nigel Cunningham To: "Rafael J. Wysocki" Subject: Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump Date: Fri, 21 Sep 2007 22:15:54 +1000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) Cc: Andrew Morton , nigel@suspend2.net, Pavel Machek , "Huang, Ying" , "Eric W. Biederman" , Jeremy Maitin-Shepard , linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org, Kexec Mailing List , Len Brown References: <1190266447.21818.17.camel@caritas-dev.intel.com> <200709212158.50538.nigel@nigel.suspend2.net> <200709211418.20358.rjw@sisk.pl> In-Reply-To: <200709211418.20358.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709212215.57526.nigel@nigel.suspend2.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi. On Friday 21 September 2007 22:18:19 Rafael J. Wysocki wrote: > On Friday, 21 September 2007 13:58, Nigel Cunningham wrote: > > Hi. > > > > On Friday 21 September 2007 21:56:29 Rafael J. Wysocki wrote: > > > [Besides, the current hibernation userland interface is used by default by > > > openSUSE and it's also used by quite some Debian users, so we can't drop > > > it overnight and it can't be implemented in a compatible way on top of the > > > kexec-based solution.] > > > > Could it be fudged by giving userland a null image and having (say) the first > > ioctl be one that triggers all the real work (with other ioctls being noops > > or such like, as appropriate)? > > Well, the "suspend" part is probably doable, but I'm afraid of the "resume" > one. 'k. I've occasionally thought about trying it, but haven't ever gotten around to actually doing it yet. (I'd like to make TuxOnIce transparently replace both swsusp and uswsusp if I could). Regards, Nigel