aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/hugetlb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 2c37c67ed8c9..bbf953eeb58b 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -199,7 +199,8 @@ static struct page *alloc_fresh_huge_page_node(int nid)
199 struct page *page; 199 struct page *page;
200 200
201 page = alloc_pages_node(nid, 201 page = alloc_pages_node(nid,
202 htlb_alloc_mask|__GFP_COMP|__GFP_THISNODE|__GFP_NOWARN, 202 htlb_alloc_mask|__GFP_COMP|__GFP_THISNODE|
203 __GFP_REPEAT|__GFP_NOWARN,
203 HUGETLB_PAGE_ORDER); 204 HUGETLB_PAGE_ORDER);
204 if (page) { 205 if (page) {
205 if (arch_prepare_hugepage(page)) { 206 if (arch_prepare_hugepage(page)) {
@@ -294,7 +295,8 @@ static struct page *alloc_buddy_huge_page(struct vm_area_struct *vma,
294 } 295 }
295 spin_unlock(&hugetlb_lock); 296 spin_unlock(&hugetlb_lock);
296 297
297 page = alloc_pages(htlb_alloc_mask|__GFP_COMP|__GFP_NOWARN, 298 page = alloc_pages(htlb_alloc_mask|__GFP_COMP|
299 __GFP_REPEAT|__GFP_NOWARN,
298 HUGETLB_PAGE_ORDER); 300 HUGETLB_PAGE_ORDER);
299 301
300 spin_lock(&hugetlb_lock); 302 spin_lock(&hugetlb_lock);