diff options
author | Pavel Machek <pavel@ucw.cz> | 2005-06-26 01:55:14 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-26 03:24:33 +0400 |
commit | c61978b30322c83a94d7e4857fa5b9996b7d7931 (patch) | |
tree | 34fe94d8b55738a957472de21a098a588f171d6a /include | |
parent | 2e4d5822dc71f01bf515b8f6f4e41ae12ee785b8 (diff) | |
download | linux-c61978b30322c83a94d7e4857fa5b9996b7d7931.tar.xz |
[PATCH] swsusp: fix nr_copy_pages
The following patch moves the recalculation of nr_copy_pages so that the right
number is used in the calculation of the size of memory and swap needed.
It prevents swsusp from attempting to suspend if there is not enough memory
and/or swap (which is unlikely anyway).
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions