[PATCH -mm 1/2] kexec jump -v12: kexec jump
huang.ying.caritas at gmail.com
Mon Jul 14 09:30:31 EDT 2008
On Sat, Jul 12, 2008 at 3:21 AM, Andrew Morton
<akpm at linux-foundation.org> wrote:
> On Tue, 8 Jul 2008 10:50:51 -0400 Vivek Goyal <vgoyal at redhat.com> wrote:
>> On Mon, Jul 07, 2008 at 11:25:22AM +0800, Huang Ying wrote:
>> > This patch provides an enhancement to kexec/kdump. It implements
>> > the following features:
>> > - Backup/restore memory used by the original kernel before/after
>> > kexec.
>> > - Save/restore CPU state before/after kexec.
>> Hi Huang,
>> In general this patch set looks good enough to live in -mm and
>> get some testing going.
>> To me, adding capability to return back to original kernel looks
>> like a logical extension to kexec functionality.
> Exciting ;) It's much less code than I expected.
> I don't think I understand the feature any more. Once upon a time we
> thought that this might become a new and better (or at least
> better-code-sharing) way of doing suspend-to-disk. How far are we from
At least there are still issues as follow:
- We need a mechanism to pass some information (such as backup pages
map) from hibernated kernel to hibernating kernel. Maybe in C calling
- To load hibernation image via /sbin/kexec, the segment number
constraint of sys_kexec_load needs to be extended (maybe via
- Make kexec based hibernation compatible with ACPI S4.
- Extend makedumpfile utility for kexec based hibernation.
> What are the prospects of supporting other architectures?
I will work on x86_64 supporting.
> Who maintains kexec-tools, and are they OK with merging up the
> corresponding changes?
I will work with kexec-tools mailing list for corresponding kexec-tools patches.
More information about the kexec