[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100804111828.e4234160.kamezawa.hiroyu@jp.fujitsu.com>
Date: Wed, 4 Aug 2010 11:18:28 +0900
From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To: Bojan Smojver <bojan@...ursive.com>
Cc: Nigel Cunningham <nigel@...onice.net>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH]: Compress hibernation image with LZO (in-kernel)
On Wed, 04 Aug 2010 12:14:19 +1000
Bojan Smojver <bojan@...ursive.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists