Re: [PATCH 0/2] Kexec jump: The first step to kexecbase hibernation

From: Huang, Ying
Date: Thu Jul 12 2007 - 05:19:05 EST


On Thu, 2007-07-12 at 00:03 -0700, david@xxxxxxx wrote:
> >
> > The kexec jump is the first step, maybe the simplest step. There are
> > many other issues to be resolved, at least the following ones.
> >
> > 1. Separate device suspend from device hibernate.
>

Maybe my usage of terminology has some problem. But, the "device
hibernate" here means put device into quiescent state and save the
device state, but do not put device into low power state.

> > 6. Reduce the boot-up time of kexec kernel. Maybe the kexec kernel can
> > be hibernate/resume by the normal kernel too. This way, a real
> > kexec/boot-up is only needed for the first time.
>
> the hibernate kernel shouldn't need a lot of the features of the standard
> kerneel (does it really need sound for example), and if tailored even
> tighter could be configured to only have the drivers actually used for the
> save and restore, makeing a _very_ minimal kernel (no USB, no network,
> only simple video drivers, etc) greatly speeding up the boot

There is no need for two kernel. Most drivers and optional features are
compiled as modules, as that of most desktop distributions. So just
"insmod" needed modules only in hibernate kernel is sufficient.

Best Regards,
Huang Ying
-
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/