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

From: Rafael J. Wysocki
Date: Sat Aug 25 2007 - 15:41:30 EST


On Saturday, 25 August 2007 20:32, david@xxxxxxx wrote:
> 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')

Well, I have an idea how to handle that, but I need to test it. Stay tuned. :-)

Greetings,
Rafael
-
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/