summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorZhangPeng <zhangpeng362@huawei.com>2023-06-06 09:20:12 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-06-20 02:19:03 +0300
commit959a78b6dd4526fb11d3cacf2de909479b06a4f4 (patch)
tree0a8f07b0dfd549fce843f86a29b02483b1d37758 /include/linux/debugobjects.h
parentad27ce206af731f6854b3d8a1760c573b217e363 (diff)
downloadlinux-959a78b6dd4526fb11d3cacf2de909479b06a4f4.tar.xz
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/20230606062013.2947002-3-zhangpeng362@huawei.com Signed-off-by: ZhangPeng <zhangpeng362@huawei.com> Suggested-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Cc: Nanyong Sun <sunnanyong@huawei.com> Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions