aboutsummaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorZhangPeng <[email protected]>2023-06-06 06:20:12 +0000
committerAndrew Morton <[email protected]>2023-06-19 23:19:03 +0000
commit959a78b6dd4526fb11d3cacf2de909479b06a4f4 (patch)
tree0a8f07b0dfd549fce843f86a29b02483b1d37758 /mm/sparse.c
parentmm/hugetlb: use a folio in copy_hugetlb_page_range() (diff)
downloadkernel-959a78b6dd4526fb11d3cacf2de909479b06a4f4.tar.gz
kernel-959a78b6dd4526fb11d3cacf2de909479b06a4f4.zip
mm/hugetlb: use a folio in hugetlb_wp()
We can replace nine implict calls to compound_head() with one by using old_folio. The page we get back is always a head page, so we just convert old_page to old_folio. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: ZhangPeng <[email protected]> Suggested-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Muchun Song <[email protected]> Reviewed-by: Sidhartha Kumar <[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 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions