Re: A kexec approach to hibernation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Maitin-Shepard <jbms@...>
Cc: <linux-kernel@...>, Linus Torvalds <torvalds@...>, Nigel Cunningham <nigel@...>, Pavel Machek <pavel@...>
Date: Saturday, June 2, 2007 - 5:22 am

On Saturday, 2 June 2007 03:54, Jeremy Maitin-Shepard wrote:

If the filesystem is located on a separate partition, that should be doable
(not that I'm going to try it in the foreseeable future).


I don't agree.


Can we just take the interface down and bring it up just for writing the image,
possibly with another IP address?  We don't need another kernel to do
that.


Yes, that can happen in theory (and I believe it's happend for some XFS
users), but _most_ often it just works and people are used to doing it.


Yes.


Well, maybe. :-)
 

The problem here is that you can't just anticipate everything and sometimes
you need to add hacks to handle problems that you have not anticipated.

I'm not sure if you're able to avoid adding hacks within the kexec-based
approach.


Do you realize how much time would it take to implement that?


Not that much, IMO, but that's not the issue.  The issue is that for the
kexec-based approach to work you'll need the devices to be quiesced properly.


Yes, but that's not what's going on today.  So first, let's fix that.


You are probably right.

Now, I think that your idea boils down to freezing the kernel along with all
tasks, which is reasonable, albeit extreme. :-)

I think we can consider doing something like this in the long run, but at
present we are not ready to do that.

Besides, I wouldn't like to drop the existing infrastructure that people use
and start over at some other place, because that would be wasteful.  Instead,
I'd prefer to improve the existing approach gradually, in such a way that
new code is added in a more-or-less transparent way (of course it's difficult
to avoid breaking things from time to time, but doing small steps it's easier
to fix bugs along the way).

Greetings,
Rafael


-- 
"Premature optimization is the root of all evil." - Donald Knuth
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
A kexec approach to hibernation, Jeremy Maitin-Shepard, (Fri Jun 1, 4:39 pm)
Re: A kexec approach to hibernation, Rafael J. Wysocki, (Fri Jun 1, 5:39 pm)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Fri Jun 1, 6:25 pm)
Re: A kexec approach to hibernation, Rafael J. Wysocki, (Fri Jun 1, 7:14 pm)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Fri Jun 1, 7:54 pm)
Re: A kexec approach to hibernation, Vivek Goyal, (Mon Jun 4, 12:40 am)
Re: A kexec approach to hibernation, Nigel Cunningham, (Mon Jun 4, 1:22 am)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Mon Jun 4, 5:44 pm)
Re: A kexec approach to hibernation, Rafael J. Wysocki, (Mon Jun 4, 4:05 am)
Re: A kexec approach to hibernation, Nigel Cunningham, (Mon Jun 4, 4:14 am)
Re: A kexec approach to hibernation, Rafael J. Wysocki, (Fri Jun 1, 8:33 pm)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Fri Jun 1, 9:54 pm)
Re: A kexec approach to hibernation, Nigel Cunningham, (Sun Jun 10, 11:40 pm)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Mon Jun 11, 11:01 am)
Re: A kexec approach to hibernation, Xavier Bestel, (Mon Jun 11, 11:45 am)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Mon Jun 11, 11:51 am)
Re: A kexec approach to hibernation, Xavier Bestel, (Mon Jun 11, 12:03 pm)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Mon Jun 11, 1:05 pm)
Re: A kexec approach to hibernation, Pavel Machek, (Mon Jun 4, 6:46 am)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Mon Jun 4, 6:09 pm)
Re: A kexec approach to hibernation, Pavel Machek, (Mon Jun 4, 6:51 pm)
Re: A kexec approach to hibernation, Jeremy Maitin-Shepard, (Mon Jun 11, 11:07 am)
Re: A kexec approach to hibernation, Nigel Cunningham, (Mon Jun 4, 6:36 pm)
Re: A kexec approach to hibernation, Xavier Bestel, (Tue Jun 5, 4:15 am)
Re: A kexec approach to hibernation, Stefan Seyfried, (Tue Jun 5, 5:34 am)
Re: A kexec approach to hibernation, Xavier Bestel, (Tue Jun 5, 5:40 am)
Re: A kexec approach to hibernation, Matthew Garrett, (Mon Jun 4, 8:20 am)
Re: A kexec approach to hibernation, Pavel Machek, (Mon Jun 4, 9:10 am)
Re: A kexec approach to hibernation, Matthew Garrett, (Mon Jun 4, 9:16 am)
Re: A kexec approach to hibernation, H. Peter Anvin, (Sun Jun 10, 10:02 pm)
Re: A kexec approach to hibernation, Nigel Cunningham, (Mon Jun 11, 6:44 pm)
Re: A kexec approach to hibernation, Rafael J. Wysocki, (Sat Jun 2, 5:22 am)