Re: [PATCH]: Compress hibernation image with LZO (in-kernel)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nigel Cunningham
Date: Tuesday, August 3, 2010 - 7:24 pm

Hi.

On 04/08/10 12:02, KAMEZAWA Hiroyuki wrote:

Yeah, I'm ignoring uswsusp too. That shouldn't matter.


Yes


Yes, because what's being written is the snapshot that was created in 
hibernation_snapshot. Any memory you allocate afterwards is irrelevant 
because it's not part of that snapshot that was made earlier and is now 
being written to disk. Think of the point where hibernation_snapshot is 
called as being like taking a photo, and this later part as like 
printing the photo. Once you've taken the photo, people in the photo can 
move around without making any difference to the photo you've taken. So 
here. Our vmallocs and so on after the snapshot don't affect it.

Regards,

Nigel
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]: Compress hibernation image with LZO (in-kernel), Bojan Smojver, (Thu Jul 29, 9:46 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 3:05 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 4:40 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Fri Jul 30, 6:18 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 5:17 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 6:10 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Sun Aug 1, 6:27 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 6:50 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:02 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:18 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), KAMEZAWA Hiroyuki, (Tue Aug 3, 7:24 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:24 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:37 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:38 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 7:42 pm)
Re: [PATCH]: Compress hibernation image with LZO (in-kernel), Nigel Cunningham, (Tue Aug 3, 9:23 pm)