[PATCH] swsusp: take lowmem reserves into account
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 23 Jun 2006 09:04:46 +0000 (02:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:59 +0000 (07:42 -0700)
commita938c356d5b007fe6d28251c0ddbf6c11d0d92b5
treee55827ad27bf0a1b3a0cae821219a863c25173b7
parent3e3318dee0878d42ed62a19c292a2ac284135db3
[PATCH] swsusp: take lowmem reserves into account

swsusp allocates memory from the normal zone, so it cannot use lowmem
reserve pages from the lower zones.  Therefore it should not count these
pages as available to it.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/swsusp.c