[PATCH] PM:Hibernation: drop the check of swap space size for compressed image

Pavel Machek pavel at ucw.cz
Mon Jan 9 05:10:37 EST 2012


On Mon 2012-01-09 12:56:23, Barry Song wrote:
> From: Barry Song <Baohua.Song at csr.com>
> 
> For compressed image, the space required is not known until
> we finish compressing and writing all pages.
> This patch drops the check, and if swap space is not enough
> finally, system can still restore to normal after writing
> swap fails for compressed images.
> 
> Signed-off-by: Barry Song <Baohua.Song at csr.com>

ACK.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the linux-arm-kernel mailing list