mm-hugetlb-add-missing-annotation-for-gather_surplus_pages.patch removed from -mm tree
The patch titled
Subject: mm/hugetlb: add missing annotation for gather_surplus_pages()
has been removed from the -mm tree. Its filename was
mm-hugetlb-add-missing-annotation-for-gather_surplus_pages.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Jules Irenge <[email protected]>
Subject: mm/hugetlb: add missing annotation for gather_surplus_pages()
Sparse reports a warning at gather_surplus_pages()
warning: context imbalance in hugetlb_cow() - unexpected unlock
The root cause is the missing annotation at gather_surplus_pages() Add the missing __must_hold(&hugetlb_lock)
Signed-off-by Jules Irenge <[email protected]>
Reviewed-by Mike Kravetz <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/hugetlb.c | 1 + 1 file changed, 1 insertion(+)
mm/hugetlb.c renamed from mm/hugetlb.c~mm-hugetlb-add-missing-annotation-for-gather_surplus_pages +1 -0
@@ -2010,6 +2010,7 @@ struct page *alloc_huge_page_vma(struct* of size 'delta'. */ static int gather_surplus_pages (struct hstate *h,int delta) + __must_hold(&hugetlb_lock) {struct list_head surplus_list;struct page *page, *tmp;
_
Patches currently in -mm which might be from [email protected] are