Messages in this thread | | | Date | Wed, 4 Aug 2010 11:18:28 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [PATCH]: Compress hibernation image with LZO (in-kernel) |
| |
On Wed, 04 Aug 2010 12:14:19 +1000 Bojan Smojver <bojan@rexursive.com> wrote:
> On Wed, 2010-08-04 at 11:02 +0900, KAMEZAWA Hiroyuki wrote: > > Then, after resume, all vmalloc() area is resumed as "allocated". > > > > Wrong ? > > I actually tried remembering vmalloc() returned pointers into a global > variable as you suggested. On resume, they were always set to NULL, > which would suggest that what has gotten into the image was the state > before vmalloc() was called in save_image(). See: > http://lkml.org/lkml/2010/8/2/537. > > Anyone else wants to comment here? > Hmm, ok. let's see the result.
The reason I mention about the race is my patch corrupts saved image by changing swap_map[] status and swap-cache radix-tree during save_image().
Maybe I don't understand something important.
Thanks, -Kame
| |