Re: [PATCH -mm 2/2] Hibernation: Arbitrary boot kernel support onx86_64

From: david
Date: Sat Aug 25 2007 - 14:41:51 EST


On Sat, 25 Aug 2007, Rafael J. Wysocki wrote:

On Friday, 24 August 2007 22:46, Pavel Machek wrote:
Hi!

From: Rafael J. Wysocki <rjw@xxxxxxx>

Make it possible to restore a hibernation image on x86_64 with the help of a
kernel different from the one in the image.

The idea is to split the core restoration code into two separate parts and to
place each of them in a different page.  The first part belongs to the boot

What happens in case where both parts want to be
at the same place? (Like kernel being restored is 4KB smaller, so that
routines now collide?)

Bad things, but I can't see how to avoid that reliably.

can you at least detect it reliably? (feed a program both kernel images and have it tell you 'yes/no')

David Lang