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

From: Bojan Smojver
Date: Sun Aug 01 2010 - 21:21:15 EST


On Mon, 2010-08-02 at 10:10 +0900, KAMEZAWA Hiroyuki wrote:
> Why swsusp can avoid memory leak is that it records which
> pages should be freed after resume in the bitmap, which will be saved
> to image header(?)

Right. So, are you saying that all allocations in save_image() should be
done using __get_free_page() or __get_free_pages() and not with
vmalloc()?

--
Bojan

--
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/