Re: [6/25] Merge pmdisk and swsusp

From: Mika Penttilä
Date: Mon Aug 02 2004 - 01:05:19 EST




Patrick Mochel wrote:

On Mon, 2 Aug 2004, [ISO-8859-1] Mika Penttil? wrote:



Why alloc twice for the saved pages, once in calc_order() and then in
alloc_image_pages() ?



There is only one allocation each for both the pagedir (in
alloc_pagedir()) and the image pages (in alloc_image_pages()). So, I'm not
sure what you mean..

Thanks,


Pat
-



Ah ok. It was the alloc pagedir space for the pagedir pages itself that confused me. This part was missing from swsusp before, I think.

--Mika


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