[PATCH] swsusp: use __GFP_WAIT
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 7 Dec 2006 04:34:19 +0000 (20:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:27 +0000 (08:39 -0800)
commit859491218770315ba95ee3fa09961fc71c506cae
tree102516d38b2ad342a193324771048d96d401dc8c
parent8357376d3df21b7d6f857931a57ac50da9c66e26
[PATCH] swsusp: use __GFP_WAIT

swsusp uses GFP_ATOMIC, but it can afford to use __GFP_WAIT, which will
permit it to reclaim clean pagecache instead of emitting scary
page-allocation-failure messages.

Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/swap.c