Re: [PATCH]: Compress hibernation image with LZO (in-kernel)
From: KAMEZAWA Hiroyuki
Date: Tue Aug 03 2010 - 22:23:25 EST
On Wed, 04 Aug 2010 12:14:19 +1000
Bojan Smojver <bojan@xxxxxxxxxxxxx> 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:
> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/