From: Rafael J. Wysocki Date: Fri, 6 Jan 2006 08:15:22 +0000 (-0800) Subject: [PATCH] swsusp: limit image size X-Git-Tag: v2.6.16-rc1~936^2~161 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3a93a255ec33a04776ec50efb30b7a99168dda2;p=pandora-kernel.git [PATCH] swsusp: limit image size Limit the size of the suspend image to approx. 500 MB, which should improve the overall performance of swsusp on systems with more than 1 GB of RAM. It introduces the constant IMAGE_SIZE that can be set to the preferred size of the image (in MB) and modifies the memory-shrinking part of swsusp to take this constant into account (500 is the default value of IMAGE_SIZE). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed