diff options
| author | ZhangPeng <[email protected]> | 2023-06-06 14:20:11 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-19 16:19:03 -0700 |
| commit | ad27ce206af731f6854b3d8a1760c573b217e363 (patch) | |
| tree | 72e447b02e5e32c6f46bad3b83d8a94cc45f5366 /tools/perf/scripts/python | |
| parent | 9fc96c7c19dfab67bf81b25fbc4f49b7752d5060 (diff) | |
mm/hugetlb: use a folio in copy_hugetlb_page_range()
Patch series "Convert several functions in hugetlb.c to use a folio", v2.
This patch series converts three functions in hugetlb.c to use a folio,
which can remove several implicit calls to compound_head().
This patch (of 3):
We can replace five implict calls to compound_head() with one by using
pte_folio. The page we get back is always a head page, so we just convert
ptepage to pte_folio.
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: ZhangPeng <[email protected]>
Suggested-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Muchun Song <[email protected]>
Reviewed-by: Sidhartha Kumar <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: Mike Kravetz <[email protected]>
Cc: Nanyong Sun <[email protected]>
Cc: Vishal Moola (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions