Re: [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-27 Thread Huang, Ying
On Mon, 2007-08-27 at 13:15 +, Pavel Machek wrote: > 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

Re: [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-27 Thread Pavel Machek
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

Re: [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-27 Thread Eric W. Biederman
Pavel Machek <[EMAIL PROTECTED]> 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. >>

Re: [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-27 Thread Pavel Machek
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

Re: [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-26 Thread Vivek Goyal
On Mon, Aug 27, 2007 at 02:18:49PM +0800, Huang, Ying wrote: [..] > > > > If one compiles the kernel C to boot from reserved memory area (subset > > of memory area used by kernel B), then I can skip the step of kexecing > > from C to D? (COFIG_PHYSICAL_START) > > Yes. I think so. > > > Alternat

Re: [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-26 Thread Huang, Ying
On Mon, 2007-08-27 at 10:30 +0530, Vivek Goyal wrote: > On Mon, Aug 27, 2007 at 09:14:05AM +0800, Huang, Ying wrote: > > Kexec base hibernation has some potential advantages over uswsusp and > > TuxOnIce (suspend2). Some most obvious advantages are: > > > > 1. The hibernation image size can exceed

Re: [RFC][PATCH 0/2 -mm] kexec based hibernation

2007-08-26 Thread Vivek Goyal
On Mon, Aug 27, 2007 at 09:14:05AM +0800, Huang, Ying wrote: > Kexec base hibernation has some potential advantages over uswsusp and > TuxOnIce (suspend2). Some most obvious advantages are: > > 1. The hibernation image size can exceed half of memory size easily. > > 2. The hibernation image can b