Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756216AbYGNFqR (ORCPT ); Mon, 14 Jul 2008 01:46:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752288AbYGNFqF (ORCPT ); Mon, 14 Jul 2008 01:46:05 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:51631 "EHLO gprs189-60.eurotel.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752178AbYGNFqD (ORCPT ); Mon, 14 Jul 2008 01:46:03 -0400 Date: Mon, 14 Jul 2008 07:46:44 +0200 From: Pavel Machek To: Nigel Cunningham Cc: Vivek Goyal , Andrew Morton , Huang Ying , "Eric W. Biederman" , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org, Kexec Mailing List , Horms Subject: Re: [PATCH -mm 1/2] kexec jump -v12: kexec jump Message-ID: <20080714054644.GC20258@elf.ucw.cz> References: <1215401122.4660.4.camel@caritas-dev.intel.com> <20080708145051.GA14745@redhat.com> <20080711122131.b6461ab1.akpm@linux-foundation.org> <20080711201149.GB3298@redhat.com> <1215824537.7319.7.camel@nigel-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1215824537.7319.7.camel@nigel-laptop> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1959 Lines: 44 On Sat 2008-07-12 11:02:17, Nigel Cunningham wrote: > Hi. > > On Fri, 2008-07-11 at 16:11 -0400, Vivek Goyal wrote: > > Hi Andrew, > > > > We can use this patchset for hibernation, but can it be a better way of doing > > things than what we already have, I don't know. Last time I had raised > > this question and power people had various views. In the end, Pavel wanted > > this patchset to be in. Pavel, can tell more here... > > > > To me this patchset looks interesting for couple of reasons. > > > > - Looks like an interesting feature where one can have a separate kernel > > in memory and one can switch between the kernels on the fly. It can > > be modified to have more than one kernel in memory at a time. > > I'm not sure how useful that would be, though. I already have > functionality in TuxOnIce which allows you to resume a different image > instead of powering off (roughly the same thing when combined with not > removing the image after resuming). It was neat when testing to be > able Beaty of kjump is that it is supposed to used on half-broken system, so it is useful for debugging. > > - So far kexec was one directional. One can only kexec to new kernel and > > old kernel was gone. Now this patchset makes kexec functionality kind > > of bidirectional and this looks like logical extension and can lead > > to intersting use cases in future. > > Ah. You mean keeping both kernels in memory at the same time? In the > above, I was replacing one image with another. Yep, kjump keeps both kernels loaded at the same time. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.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/