aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/hugetlb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 27938c441b6f..dd30f22b35e0 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -1536,6 +1536,7 @@ static unsigned long set_max_huge_pages(struct hstate *h, unsigned long count,
1536 while (min_count < persistent_huge_pages(h)) { 1536 while (min_count < persistent_huge_pages(h)) {
1537 if (!free_pool_huge_page(h, nodes_allowed, 0)) 1537 if (!free_pool_huge_page(h, nodes_allowed, 0))
1538 break; 1538 break;
1539 cond_resched_lock(&hugetlb_lock);
1539 } 1540 }
1540 while (count < persistent_huge_pages(h)) { 1541 while (count < persistent_huge_pages(h)) {
1541 if (!adjust_pool_surplus(h, nodes_allowed, 1)) 1542 if (!adjust_pool_surplus(h, nodes_allowed, 1))