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

From: Stefan Rompf
Date: Fri Sep 21 2007 - 04:37:51 EST


Am Donnerstag, 20. September 2007 07:34 schrieb Huang, Ying:

> 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.

>From a short glance over current Linus' arch/i386/kernel/machine_kexec.c,
memory for the crash dump kernel B still needs to be reserved statically when
booting A.

This is one of the biggest issues with kexec based hibernation. For the
typical notebook user, it is totally unacceptable to reserve 16 megabytes of
memory just to be able to suspend to disk. And given the fact that current
distribution kernels are quite modular and require early module loading, even
more memory might be needed.

IMHO, a plan how to fix this must exist or the concept of kexec based
hibernation is a waste of time.

Stefan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/