From 561bf4eed48ce99bd8d8b933390603f84ac4cacb Mon Sep 17 00:00:00 2001 From: KOSAKI Motohiro Date: Tue, 31 Aug 2010 14:58:04 +0900 Subject: [PATCH 2/2] add gfp_noretry Signed-off-by: KOSAKI Motohiro --- kernel/power/snapshot.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c index 3144ab4..c488704 100644 --- a/kernel/power/snapshot.c +++ b/kernel/power/snapshot.c @@ -1091,7 +1091,7 @@ void swsusp_free(void) /* Helper functions used for the shrinking of memory. */ -#define GFP_IMAGE (GFP_KERNEL | __GFP_NOWARN) +#define GFP_IMAGE (GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY) /** * preallocate_image_pages - Allocate a number of pages for hibernation image -- 1.6.5.2