[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200807112240.59461.rjw@sisk.pl>
Date: Fri, 11 Jul 2008 22:40:58 +0200
From: "Rafael J. Wysocki" <rjw@...k.pl>
To: Pavel Machek <pavel@...e.cz>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Vivek Goyal <vgoyal@...hat.com>,
Huang Ying <ying.huang@...el.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
nigel@...el.suspend2.net, linux-kernel@...r.kernel.org,
linux-pm@...ts.linux-foundation.org,
Kexec Mailing List <kexec@...ts.infradead.org>
Subject: Re: [PATCH -mm 1/2] kexec jump -v12: kexec jump
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@...hat.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists