Return-path: Received: from ebiederm.dsl.xmission.com ([166.70.28.69]) by canuck.infradead.org with esmtps (Exim 4.63 #1 (Red Hat Linux)) id 1IPeK8-0005Da-U6 for kexec@lists.infradead.org; Mon, 27 Aug 2007 09:08:11 -0400 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [RFC][PATCH 0/2 -mm] kexec based hibernation References: <1188177245.3247.36.camel@caritas-dev.intel.com> <20070827050027.GB9809@in.ibm.com> <1188195529.3247.82.camel@caritas-dev.intel.com> <20070827075317.GB2060@elf.ucw.cz> Date: Mon, 27 Aug 2007 07:05:41 -0600 In-Reply-To: <20070827075317.GB2060@elf.ucw.cz> (Pavel Machek's message of "Mon, 27 Aug 2007 09:53:17 +0200") Message-ID: MIME-Version: 1.0 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: Pavel Machek Cc: nigel@nigel.suspend2.net, Kexec Mailing List , linux-kernel@vger.kernel.org, vgoyal@in.ibm.com, Alan Stern , "Huang, Ying" , Andrew Morton , linux-pm@lists.linux-foundation.org, Jeremy Maitin-Shepard Pavel Machek writes: > Hi! > >> > Does this make sense? >> >> Yes, this is a sensible optimization. But I think it may be better to >> make bootloader load kernel D directly into a specified memory location. >> For example, we can add a option to "kernel" command of grub. >> >> And, I think we can do more in bootloader. Such as we can prepare >> two > > Yes, that would be nice. > > It will mean quite a bit of work, but I guess it should be the long > term goal. Loading restore kernel directly from bootloader means: > > 1) it is fast -- no need to boot another kernel > > 2) it is "classical" way of doing things > > On the other hand, we loose flexibility that way: > > 1) it locks you onto one bootloader > > 2) you no longer have userland there to do uncompression, decryption, > etc.. True although for the uncompression and decryption those aren't exactly foreign requirements for bootloaders. Eric _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec