From: Rafael J. Wysocki Date: Wed, 28 Sep 2005 04:45:43 +0000 (-0700) Subject: [PATCH] swsusp: avoid problems if there are too many pages to save X-Git-Tag: v2.6.14-rc3~81 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f7347c20c410c300be0db4c132945fd02e54110;p=pandora-kernel.git [PATCH] swsusp: avoid problems if there are too many pages to save The following patch makes swsusp avoid problems during resume if there are too many pages to save on suspend. It adds a constant that allows us to verify if we are going to save too many pages and implements the check (this is done as early as we can tell that the check will trigger, which is in swsusp_alloc()). 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