+ mm-hugetlb-use-get_page_foll-in-follow_hugetlb_page.patch added to -mm tree
Subsystems (2)
[email protected]
maintainerSubject: + mm-hugetlb-use-get_page_foll-in-follow_hugetlb_page.patch added to -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]
From: [email protected]
Date: Tue, 19 Nov 2013 15:14:35 -0800
The patch titled
Subject: mm: hugetlb: use get_page_foll() in follow_hugetlb_page()
has been added to the -mm tree. Its filename is
mm-hugetlb-use-get_page_foll-in-follow_hugetlb_page.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-hugetlb-use-get_page_foll-in-follow_hugetlb_page.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-hugetlb-use-get_page_foll-in-follow_hugetlb_page.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Andrea Arcangeli <[email protected]>
Subject: mm: hugetlb: use get_page_foll() in follow_hugetlb_page()
get_page_foll() is more optimal and is always safe to use under the PT lock. More so for hugetlbfs as there's no risk of race conditions with split_huge_page regardless of the PT lock.
---
mm/hugetlb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/hugetlb.c renamed from mm/hugetlb.c~mm-hugetlb-use-get_page_foll-in-follow_hugetlb_page +1 -1
@@ -3079,7 +3079,7 @@ long follow_hugetlb_page(struct mm_struc same_page:if (pages) { pages[i] =mem_map_offset (page, pfn_offset); -get_page (pages[i]); +get_page_foll (pages[i]); }if (vmas)
_
Patches currently in -mm which might be from [email protected] are
origin.patch mm-thp-give-transparent-hugepage-code-a-separate-copy_page.patch mm-thp-give-transparent-hugepage-code-a-separate-copy_page-fix.patch mm-hugetlbfs-fix-hugetlbfs-optimization.patch mm-hugetlb-use-get_page_foll-in-follow_hugetlb_page.patch mm-tail-page-refcounting-optimization-for-slab-and-hugetlbfs.patch mm-swapc-reorganize-put_compound_page.patch mm-hugetlbc-simplify-pageheadhuge-and-pagehuge.patch