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

david
2007-08-25T18:32:49Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 806 bytes --]

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@sisk.pl>
>>>
>>> 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

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]