All of lore.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: nigel@nigel.suspend2.net,
	Kexec Mailing List <kexec@lists.infradead.org>,
	linux-kernel@vger.kernel.org, Pavel Machek <pavel@suse.cz>,
	Huang Ying <ying.huang@intel.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-pm@lists.linux-foundation.org,
	Vivek Goyal <vgoyal@redhat.com>
Subject: Re: [PATCH -mm 1/2] kexec jump -v12: kexec jump
Date: Fri, 11 Jul 2008 19:23:04 -0700	[thread overview]
Message-ID: <m1lk076dtj.fsf@frodo.ebiederm.org> (raw)
In-Reply-To: <200807112240.59461.rjw@sisk.pl> (Rafael J. Wysocki's message of "Fri, 11 Jul 2008 22:40:58 +0200")

"Rafael J. Wysocki" <rjw@sisk.pl> writes:

> 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).

I just realized with a little care the block layer does have support for this,
or something very close.

You setup a software raid mirror with one disk device.    The physical
device can come in and out while the filesystems depend on the real device.

I expect a hardware pass through device configured to do exactly the
above would be about 100 lines of code, so getting past the filesystem
hurdle should be very doable.  Arguably we should be able to do this
up a level, but it is easy enough to do that you can do a proof of
concept with out that.

Now I'm curious to see how far you can go with just the device hotplug support.

Eric

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

WARNING: multiple messages have this Message-ID (diff)
From: ebiederm@xmission.com (Eric W. Biederman)
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@suse.cz>,
	Andrew Morton <akpm@linux-foundation.org>,
	Vivek Goyal <vgoyal@redhat.com>,
	Huang Ying <ying.huang@intel.com>,
	nigel@nigel.suspend2.net, linux-kernel@vger.kernel.org,
	linux-pm@lists.linux-foundation.org,
	Kexec Mailing List <kexec@lists.infradead.org>
Subject: Re: [PATCH -mm 1/2] kexec jump -v12: kexec jump
Date: Fri, 11 Jul 2008 19:23:04 -0700	[thread overview]
Message-ID: <m1lk076dtj.fsf@frodo.ebiederm.org> (raw)
In-Reply-To: <200807112240.59461.rjw@sisk.pl> (Rafael J. Wysocki's message of "Fri, 11 Jul 2008 22:40:58 +0200")

"Rafael J. Wysocki" <rjw@sisk.pl> writes:

> 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).

I just realized with a little care the block layer does have support for this,
or something very close.

You setup a software raid mirror with one disk device.    The physical
device can come in and out while the filesystems depend on the real device.

I expect a hardware pass through device configured to do exactly the
above would be about 100 lines of code, so getting past the filesystem
hurdle should be very doable.  Arguably we should be able to do this
up a level, but it is easy enough to do that you can do a proof of
concept with out that.

Now I'm curious to see how far you can go with just the device hotplug support.

Eric

  parent reply	other threads:[~2008-07-12  2:32 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07  3:25 [PATCH -mm 1/2] kexec jump -v12: kexec jump Huang Ying
2008-07-07  3:25 ` Huang Ying
2008-07-07 12:50 ` Pavel Machek
2008-07-07 12:50   ` Pavel Machek
2008-07-08  9:10   ` Huang Ying
2008-07-08  9:10     ` Huang Ying
2008-07-08 10:40     ` Pavel Machek
2008-07-08 10:40     ` Pavel Machek
2008-07-08 10:40       ` Pavel Machek
2008-07-09  1:12       ` Huang Ying
2008-07-09  1:12         ` Huang Ying
2008-07-09  1:12       ` Huang Ying
2008-07-08  9:10   ` Huang Ying
2008-07-07 12:50 ` Pavel Machek
2008-07-08 14:50 ` Vivek Goyal
2008-07-08 14:50 ` Vivek Goyal
2008-07-08 14:50   ` Vivek Goyal
2008-07-09  1:09   ` Huang Ying
2008-07-09  1:09   ` Huang Ying
2008-07-09  1:09     ` Huang Ying
2008-07-11 19:21   ` Andrew Morton
2008-07-11 19:21     ` Andrew Morton
2008-07-11 20:11     ` Vivek Goyal
2008-07-11 20:11       ` Vivek Goyal
2008-07-12  1:02       ` Nigel Cunningham
2008-07-12  1:02         ` Nigel Cunningham
2008-07-14  5:46         ` Pavel Machek
2008-07-14  5:46           ` Pavel Machek
2008-07-14 13:32           ` Vivek Goyal
2008-07-14 13:32           ` Vivek Goyal
2008-07-14 13:32             ` Vivek Goyal
2008-08-04 11:01             ` Pavel Machek
2008-08-04 11:01             ` Pavel Machek
2008-08-04 11:01               ` Pavel Machek
2008-07-14  5:46         ` Pavel Machek
2008-07-14 13:09         ` Vivek Goyal
2008-07-14 13:09           ` Vivek Goyal
2008-07-14 13:09         ` Vivek Goyal
2008-07-12  1:02       ` Nigel Cunningham
2008-07-11 20:11     ` Vivek Goyal
2008-07-11 20:24     ` Pavel Machek
2008-07-11 20:24       ` Pavel Machek
2008-07-11 20:40       ` Rafael J. Wysocki
2008-07-11 20:40       ` Rafael J. Wysocki
2008-07-11 20:40         ` Rafael J. Wysocki
2008-07-12  2:23         ` Eric W. Biederman
2008-07-12  2:23         ` Eric W. Biederman [this message]
2008-07-12  2:23           ` Eric W. Biederman
2008-07-12  3:04           ` Alan Stern
2008-07-12  3:04           ` [linux-pm] " Alan Stern
2008-07-12  3:04             ` Alan Stern
2008-07-12  3:50             ` Eric W. Biederman
2008-07-12  3:50               ` Eric W. Biederman
2008-07-12 18:52               ` Rafael J. Wysocki
2008-07-12 18:52               ` [linux-pm] " Rafael J. Wysocki
2008-07-12 18:52                 ` Rafael J. Wysocki
2008-07-12 19:55               ` Alan Stern
2008-07-12 19:55                 ` Alan Stern
2008-07-12 19:55               ` Alan Stern
2008-07-12  3:50             ` Eric W. Biederman
2008-07-11 20:24     ` Pavel Machek
2008-07-14 13:30     ` huang ying
2008-07-14 13:30       ` huang ying
2008-07-14 13:30     ` huang ying
2008-07-14 13:30     ` huang ying
2008-07-11 19:21   ` Andrew Morton
  -- strict thread matches above, loose matches on Subject: below --
2008-07-07  3:25 Huang Ying

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1lk076dtj.fsf@frodo.ebiederm.org \
    --to=ebiederm@xmission.com \
    --cc=akpm@linux-foundation.org \
    --cc=kexec@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=nigel@nigel.suspend2.net \
    --cc=pavel@suse.cz \
    --cc=rjw@sisk.pl \
    --cc=vgoyal@redhat.com \
    --cc=ying.huang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.