aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/hugetlb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 8a7f27b42131..de73c9d144e1 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -1100,6 +1100,7 @@ static void return_unused_surplus_pages(struct hstate *h,
1100 while (nr_pages--) { 1100 while (nr_pages--) {
1101 if (!free_pool_huge_page(h, &node_states[N_MEMORY], 1)) 1101 if (!free_pool_huge_page(h, &node_states[N_MEMORY], 1))
1102 break; 1102 break;
1103 cond_resched_lock(&hugetlb_lock);
1103 } 1104 }
1104} 1105}
1105 1106