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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: david
Date: Friday, July 13, 2007 - 2:38 am

On Fri, 13 Jul 2007, Rafael J. Wysocki wrote:


I missed this discussion. is this idea to suspend, write to disk, but 
leave things in ram so that if you wakeup soon enough you have everything 
for ram, but if you don't and the battery dies you can restore from disk?

if so I think it's a mistake to mix the two. it would be better to just 
suspend to ram, and wake up once in a while to check the battery state and 
when the battery gets low enough do the suspend to disk.

otherwise you end up mixing the requirements of the two types of suspend, 
which is how things got so ugly in the first place.


true, but if you get something that can work reliably, even if ugly, you 
get a lot more people willing to polish it then is you are asking them to 
help you implement the core features.

remember release early, release often (with something that functions)


on the other hand, worrying about all the possible ways to do things can 
paralize you.

the big advantage of the kexec approach is that the new userspace that's 
setup with the new kernel can do _anything_. if/when this works you will 
see people doing things that you probably never imagined (a simple one is 
to suspend a machine at work, send the image over the network and resume 
on a different machine at home). and all these strange things are 
encapsulated so that you don't have to worry about how they will be done 
now.

it's good to try and find the places where you have fundamental changes to 
make to support them, but there are a lot of things that boil down to 
implementation details, everyone agrees that it can be done reliably, the 
decisions on how just need to be made.

David Lang
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Jeremy Fitzhardinge, (Wed Jul 11, 10:48 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 5:38 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 5:46 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 5:47 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 5:53 am)
Re: [PATCH 0/2] Kexec jump: The first step to , Rafael J. Wysocki, (Thu Jul 12, 6:01 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 8:35 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Eric W. Biederman, (Thu Jul 12, 9:32 am)
Re: [PATCH 0/2] Kexec jump: The first step to , david, (Thu Jul 12, 12:03 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 12:20 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 12:34 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 12:45 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Eric W. Biederman, (Thu Jul 12, 12:49 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Jeremy Maitin-Shepard, (Thu Jul 12, 12:55 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Jeremy Maitin-Shepard, (Thu Jul 12, 1:05 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Thu Jul 12, 1:45 pm)
Hibernating To Swap Considered Harmful, Joseph Fannin, (Thu Jul 12, 10:42 pm)
Re: Hibernating To Swap Considered Harmful, david, (Thu Jul 12, 10:57 pm)
Re: Hibernating To Swap Considered Harmful, Joseph Fannin, (Thu Jul 12, 11:20 pm)
Re: Hibernating To Swap Considered Harmful, david, (Thu Jul 12, 11:27 pm)
Re: Hibernating To Swap Considered Harmful, Joseph Fannin, (Fri Jul 13, 12:15 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Fri Jul 13, 2:17 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Fri Jul 13, 2:29 am)
Re: Hibernating To Swap Considered Harmful, Rafael J. Wysocki, (Fri Jul 13, 2:30 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., david, (Fri Jul 13, 2:38 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Fri Jul 13, 4:41 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Fri Jul 13, 4:59 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Fri Jul 13, 5:01 am)
Re: Hibernating To Swap Considered Harmful, Jeremy Maitin-Shepard, (Fri Jul 13, 7:35 am)
Re: [linux-pm] Re: [PATCH 0/2] Kexec jump: The first step ..., Rafael J. Wysocki, (Fri Jul 13, 8:31 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Eric W. Biederman, (Fri Jul 13, 9:43 am)
Re: Hibernating To Swap Considered Harmful, Joseph Fannin, (Fri Jul 13, 5:45 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sat Jul 14, 2:24 am)
Re: Hibernating To Swap Considered Harmful, Rafael J. Wysocki, (Sat Jul 14, 2:48 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sat Jul 14, 2:59 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sat Jul 14, 12:16 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sat Jul 14, 1:00 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sat Jul 14, 2:06 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sun Jul 15, 3:31 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sun Jul 15, 3:39 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sun Jul 15, 3:49 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sun Jul 15, 3:59 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Sun Jul 15, 4:11 pm)
Re: Hibernating To Swap Considered Harmful, Joseph Fannin, (Sun Jul 15, 10:37 pm)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Mon Jul 16, 5:17 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Mon Jul 16, 8:40 am)
Re: Hibernating To Swap Considered Harmful, Joseph Fannin, (Mon Jul 16, 5:12 pm)
Re: Hibernating To Swap Considered Harmful, Oliver Neukum, (Mon Jul 16, 10:44 pm)
Re: Hibernating To Swap Considered Harmful, Joseph Fannin, (Mon Jul 16, 11:28 pm)
Re: Hibernating To Swap Considered Harmful, david, (Mon Jul 16, 11:42 pm)
Re: Hibernating To Swap Considered Harmful, Oliver Neukum, (Tue Jul 17, 12:10 am)
Re: Hibernating To Swap Considered Harmful, Joseph Fannin, (Tue Jul 17, 12:26 am)
Re: Hibernating To Swap Considered Harmful, david, (Tue Jul 17, 12:34 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Tue Jul 17, 4:46 am)
Re: Hibernating To Swap Considered Harmful, Rafael J. Wysocki, (Tue Jul 17, 4:52 am)
Re: Hibernating To Swap Considered Harmful, Rafael J. Wysocki, (Tue Jul 17, 4:54 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec , Rafael J. Wysocki, (Tue Jul 17, 4:59 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec , Rafael J. Wysocki, (Tue Jul 17, 7:22 am)
Re: [PATCH 0/2] Kexec jump: The first step to kexec base h ..., Rafael J. Wysocki, (Tue Jul 24, 8:27 am)