[PATCH 0/3 -mm] kexec based hibernation -v6

Previous thread: [PATCH 2/3 -mm] kexec based hibernation -v6: kexec restore by Huang, Ying on Monday, November 19, 2007 - 3:02 am. (1 message)

Next thread: 2.6.24-rc2-mm1: kcryptd vs lockdep by Torsten Kaiser on Monday, November 19, 2007 - 3:23 am. (14 messages)
To: Eric W. Biederman <ebiederm@...>, Pavel Machek <pavel@...>, <nigel@...>, Rafael J. Wysocki <rjw@...>, Andrew Morton <akpm@...>, Jeremy Maitin-Shepard <jbms@...>
Cc: <linux-kernel@...>, <linux-pm@...>, Kexec Mailing List <kexec@...>
Date: Monday, November 19, 2007 - 3:02 am

khibernation - kexec based hibernation

Kexec base hibernation has some potential advantages over u/swsusp and
TuxOnIce (suspend2). Some of them are as follow:

1. The hibernation image size can exceed half of memory size
easily. This is possible with TuxOnIce, but impossible with
u/swsusp.

2. It is possible to eliminate freezer from kexec based hibernation
implementation, after corresponding changes to device drivers are
done.

3. Based on kexec/kdump implementation, the kernel code needed is
less.

Now, only the i386 architecture is supported. The patchset is based on
Linux kernel 2.6.24-rc2-mm1, and has been tested on IBM T42 with ACPI
on and off.

The following user-space tools are needed to implement hibernation and
resume.

1. kexec-tools needs to be patched to support khibernation. The patches
and the precompiled kexec can be download from the following URL:
source: http://khibernation.sourceforge.net/download/release_v6/kexec-tools/kexe...
patches: http://khibernation.sourceforge.net/download/release_v6/kexec-tools/kexe...
binary: http://khibernation.sourceforge.net/download/release_v6/kexec-tools/kexe...

2. makedumpfile with patches are used as memory image saving tool, it
can exclude free pages from hibernation image file. The patches and
the precompiled makedumpfile can be download from the following
URL:
source: http://khibernation.sourceforge.net/download/release_v6/makedumpfile/mak...
patches: http://khibernation.sourceforge.net/download/release_v6/makedumpfile/mak...
binary: http://khibernation.sourceforge.net/download/release_v6/makedumpfile/mak...

3. A simplest memory image restoring tool named "krestore" is
implemented. It can be downloaded from the following URL:
source: [ message continues ]

" title="http://khibernation.sourceforge.net/download/release_v6/krestore/krestore-...">http://khibernation.sourceforge.net/download/release_v6/krestore/krestor...

Previous thread: [PATCH 2/3 -mm] kexec based hibernation -v6: kexec restore by Huang, Ying on Monday, November 19, 2007 - 3:02 am. (1 message)

Next thread: 2.6.24-rc2-mm1: kcryptd vs lockdep by Torsten Kaiser on Monday, November 19, 2007 - 3:23 am. (14 messages)