[PATCH v2 0/3] Convert several functions in hugetlb.c to use a folio

From: Peng Zhang
Date: Tue Jun 06 2023 - 02:21:29 EST


From: ZhangPeng <zhangpeng362@xxxxxxxxxx>

This patch series converts three functions in hugetlb.c to use a folio,
which can remove several implicit calls to compound_head().

Change log:
v2:
- Remove ptepage in copy_hugetlb_page_range() and old_page in
hugetlb_wp(), suggested by Matthew Wilcox and Mike Kravetz. (Patch 1-2)
- Add RB from Muchun Song and Sidhartha Kumar. (Patch 1-2)
- Add a new patch to use a folio in hugetlb_fault(). (Patch 3)

ZhangPeng (3):
mm/hugetlb: Use a folio in copy_hugetlb_page_range()
mm/hugetlb: Use a folio in hugetlb_wp()
mm/hugetlb: Use a folio in hugetlb_fault()

mm/hugetlb.c | 72 ++++++++++++++++++++++++++--------------------------
1 file changed, 36 insertions(+), 36 deletions(-)

--
2.25.1