[PATCH -mm 1/2] kexec jump -v12: kexec jump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, 11 of July 2008, Pavel Machek wrote:
> On Fri 2008-07-11 12:21:31, Andrew Morton wrote:
> > On Tue, 8 Jul 2008 10:50:51 -0400 Vivek Goyal <vgoyal at redhat.com> wrote:
> > 
> > > On Mon, Jul 07, 2008 at 11:25:22AM +0800, Huang Ying wrote:
> > > > This patch provides an enhancement to kexec/kdump. It implements
> > > > the following features:
> > > > 
> > > > - Backup/restore memory used by the original kernel before/after
> > > >   kexec.
> > > > 
> > > > - Save/restore CPU state before/after kexec.
> > > > 
> > > 
> > > Hi Huang,
> > > 
> > > In general this patch set looks good enough to live in -mm and
> > > get some testing going.
> > > 
> > > To me, adding capability to return back to original kernel looks
> > > like a logical extension to kexec functionality.
> > 
> > Exciting ;)  It's much less code than I expected.
> > 
> > I don't think I understand the feature any more.  Once upon a time we
> > thought that this might become a new and better (or at least
> > better-code-sharing) way of doing suspend-to-disk.  How far are we from
> > that?
> 
> Well, it will be tricky to get kjump-hibernation right with respect to
> ACPI, but we should be fairly close to basic hibernation working with
> this. It has major advantage of not needing refrigerator (and few
> disadvantages -- like doing aditional boot during suspend).

Please, stop that.  This has always been a bogus argument.

The truth is we could do hibernation without the freezer if
(a) some drivers were fixed not to rely on it (kexec doesn't help here),
(b) we had support at the block layer or filesystems level (kexec is a big
   workaround here).

> But main reason I'd like kjump to be in is different -- it should be
> useful to stuff like "dump but continue running", etc...

That's a different thing.

Thanks,
Rafael



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux