mm-hugetlb-remove-redundant-list_empty-check-in-gather_surplus_pages.patch removed from -mm tree
Subsystems (2)
[email protected]
maintainerSubject: [merged] mm-hugetlb-remove-redundant-list_empty-check-in-gather_surplus_pages.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 12 Sep 2013 12:43:11 -0700
The patch titled
Subject: mm, hugetlb: remove redundant list_empty check in gather_surplus_pages()
has been removed from the -mm tree. Its filename was
mm-hugetlb-remove-redundant-list_empty-check-in-gather_surplus_pages.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Joonsoo Kim <[email protected]>
Subject: mm, hugetlb: remove redundant list_empty check in gather_surplus_pages()
If list is empty, list_for_each_entry_safe() doesn't do anything. So, this check is redundant. Remove it.
---
mm/hugetlb.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
mm/hugetlb.c renamed from mm/hugetlb.c~mm-hugetlb-remove-redundant-list_empty-check-in-gather_surplus_pages +2 -5
@@ -1037,11 +1037,8 @@ free:spin_unlock (&hugetlb_lock);/* Free unnecessary surplus pages to the buddy allocator */ -if (!list_empty (&surplus_list)) { -list_for_each_entry_safe (page, tmp, &surplus_list, lru) { -put_page (page); - } - } +list_for_each_entry_safe (page, tmp, &surplus_list, lru) +put_page (page);spin_lock (&hugetlb_lock);return ret;
_
Patches currently in -mm which might be from [email protected] are
origin.patch