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

2007-10-19 Thread huang ying
On 10/20/07, Phillip Susi <[EMAIL PROTECTED]> wrote: > Huang, Ying wrote: > > The hibernation procedure with the patch set is as follow: > > > > 1. Boot a kernel A > > > > 2. Work under kernel A > > > > 3. Kexec another kernel B (crash dump enabled) in kernel A. > > > > 4. Save the memory image of

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

2007-10-19 Thread david
On Fri, 19 Oct 2007, Phillip Susi wrote: Huang, Ying wrote: The restore process with the patch set is as follow: 1. Boot a kernel C (crash dump enabled), the memory area used by kernel C must be a subset of memory area used by kernel B. Why is a third kernel needed? Why can't kernel B

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

2007-10-19 Thread Phillip Susi
Huang, Ying wrote: The hibernation procedure with the patch set is as follow: 1. Boot a kernel A 2. Work under kernel A 3. Kexec another kernel B (crash dump enabled) in kernel A. 4. Save the memory image of kernel A through crash dump (such as "cp /proc/vmcore ~"). Save the "jump back

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

2007-10-19 Thread david
On Fri, 19 Oct 2007, Phillip Susi wrote: Huang, Ying wrote: The restore process with the patch set is as follow: 1. Boot a kernel C (crash dump enabled), the memory area used by kernel C must be a subset of memory area used by kernel B. Why is a third kernel needed? Why can't kernel B

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

2007-10-19 Thread Phillip Susi
Huang, Ying wrote: The hibernation procedure with the patch set is as follow: 1. Boot a kernel A 2. Work under kernel A 3. Kexec another kernel B (crash dump enabled) in kernel A. 4. Save the memory image of kernel A through crash dump (such as cp /proc/vmcore ~). Save the jump back

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

2007-10-19 Thread huang ying
On 10/20/07, Phillip Susi [EMAIL PROTECTED] wrote: Huang, Ying wrote: The hibernation procedure with the patch set is as follow: 1. Boot a kernel A 2. Work under kernel A 3. Kexec another kernel B (crash dump enabled) in kernel A. 4. Save the memory image of kernel A through

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

2007-10-12 Thread Rafael J. Wysocki
On Friday, 12 October 2007 05:19, Huang, Ying wrote: > On Thu, 2007-10-11 at 12:17 +0200, Rafael J. Wysocki wrote: > > On Thursday, 11 October 2007 04:13, Huang, Ying wrote: > > > Kexec base hibernation has some potential advantages over uswsusp and > > > TuxOnIce (suspend2). Some most obvious

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

2007-10-12 Thread Rafael J. Wysocki
On Friday, 12 October 2007 05:19, Huang, Ying wrote: On Thu, 2007-10-11 at 12:17 +0200, Rafael J. Wysocki wrote: On Thursday, 11 October 2007 04:13, Huang, Ying wrote: Kexec base hibernation has some potential advantages over uswsusp and TuxOnIce (suspend2). Some most obvious advantages

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

2007-10-11 Thread Huang, Ying
On Thu, 2007-10-11 at 12:17 +0200, Rafael J. Wysocki wrote: > On Thursday, 11 October 2007 04:13, Huang, Ying wrote: > > Kexec base hibernation has some potential advantages over uswsusp and > > TuxOnIce (suspend2). Some most obvious advantages are: > > Well, I have some doubts as far as the

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

2007-10-11 Thread Rafael J. Wysocki
On Thursday, 11 October 2007 04:13, Huang, Ying wrote: > Kexec base hibernation has some potential advantages over uswsusp and > TuxOnIce (suspend2). Some most obvious advantages are: Well, I have some doubts as far as the obviousness is concerned. > 1. The hibernation image size can exceed half

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

2007-10-11 Thread Rafael J. Wysocki
On Thursday, 11 October 2007 04:13, Huang, Ying wrote: Kexec base hibernation has some potential advantages over uswsusp and TuxOnIce (suspend2). Some most obvious advantages are: Well, I have some doubts as far as the obviousness is concerned. 1. The hibernation image size can exceed half of

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

2007-10-11 Thread Huang, Ying
On Thu, 2007-10-11 at 12:17 +0200, Rafael J. Wysocki wrote: On Thursday, 11 October 2007 04:13, Huang, Ying wrote: Kexec base hibernation has some potential advantages over uswsusp and TuxOnIce (suspend2). Some most obvious advantages are: Well, I have some doubts as far as the obviousness