Re: [PATCH 1/2] Kexec jump: Hibernation image operations

From: Rafael J. Wysocki
Date: Thu Jul 12 2007 - 16:46:45 EST


On Thursday, 12 July 2007 11:38, Pavel Machek wrote:
> On Wed 2007-07-11 15:30:34, Huang, Ying wrote:
> > This patch make it possible to have multiple implementations of
> > hibernation image operations such as write, read, check, etc, and they
> > can be switched at run time through writing the
> > "/sys/power/hibernation_image_ops". The uswsusp is the default
> > implementation.
>
> Umm, so you hook into hibernation_ops, only to run kexec from it?
>
> Would it make more sense to just run kexec manually, maybe with some
> parameter saying "prepare devices before"?

Well, I think that the $subject patch is unnecessary and confusing. Instead,
I'd like to have a separate interface to invoke the feature provided by the
second patch.

What the second patch achieves, as far as I understand it, is the ability to be
able to jump between two kernels back and forth, on i386. Although it may
generally be useful for hibernation, IMO it has very little to it right now,
because _many_ important elements of the infrastructure are still needed.

Greetings,
Rafael


--
"Premature optimization is the root of all evil." - Donald Knuth
-
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/