diff options
author | ZhangPeng <zhangpeng362@huawei.com> | 2023-06-06 14:20:13 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-19 16:19:04 -0700 |
commit | 061e62e8180d3fab378a52d868e29ceebe2fe1d2 (patch) | |
tree | e1c65eb4d0c44f22cd925f28678ae78c544f5bb8 /tools | |
parent | 959a78b6dd4526fb11d3cacf2de909479b06a4f4 (diff) | |
download | linux-061e62e8180d3fab378a52d868e29ceebe2fe1d2.tar.gz linux-061e62e8180d3fab378a52d868e29ceebe2fe1d2.tar.bz2 linux-061e62e8180d3fab378a52d868e29ceebe2fe1d2.zip |
mm/hugetlb: use a folio in hugetlb_fault()
We can replace seven implicit calls to compound_head() with one by using
folio.
[akpm@linux-foundation.org: update comment, per Sidhartha]
Link: https://lkml.kernel.org/r/20230606062013.2947002-4-zhangpeng362@huawei.com
Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
Reviewed-by Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Muchun Song <songmuchun@bytedance.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 'tools')
0 files changed, 0 insertions, 0 deletions