aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/hugetlb.c')
-rw-r--r--mm/hugetlb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index a088f593a807..f7355bf2f285 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -365,6 +365,11 @@ void __unmap_hugepage_range(struct vm_area_struct *vma, unsigned long start,
365 pte_t pte; 365 pte_t pte;
366 struct page *page; 366 struct page *page;
367 struct page *tmp; 367 struct page *tmp;
368 /*
369 * A page gathering list, protected by per file i_mmap_lock. The
370 * lock is used to avoid list corruption from multiple unmapping
371 * of the same page since we are using page->lru.
372 */
368 LIST_HEAD(page_list); 373 LIST_HEAD(page_list);
369 374
370 WARN_ON(!is_vm_hugetlb_page(vma)); 375 WARN_ON(!is_vm_hugetlb_page(vma));