lkml.org 
[lkml]   [2010]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2010-08-04 04:25    [W:0.065 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site