summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/mempolicy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index 7d8e56214ac0..d911fa5cb2a7 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -1078,7 +1078,8 @@ static struct page *new_page(struct page *page, unsigned long start, int **x)
1078 /* 1078 /*
1079 * if !vma, alloc_page_vma() will use task or system default policy 1079 * if !vma, alloc_page_vma() will use task or system default policy
1080 */ 1080 */
1081 return alloc_page_vma(GFP_HIGHUSER_MOVABLE, vma, address); 1081 return alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_RETRY_MAYFAIL,
1082 vma, address);
1082} 1083}
1083#else 1084#else
1084 1085