mm: hugetlb_vmemmap: convert page to folio
authorMuchun Song <songmuchun@bytedance.com>
Mon, 27 Nov 2023 08:46:45 +0000 (16:46 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 11 Dec 2023 00:51:54 +0000 (16:51 -0800)
commitebc20dcac4ce98f227f63cf8be0c9c1152d25cc9
tree0f7a639ae8410c8a6108cf26cb35fed9bcbed8be
parentbe035a2acf1fa03caf77daff7d8a424f395cfb4c
mm: hugetlb_vmemmap: convert page to folio

There are still some places where it does not be converted to folio, this
patch convert all of them to folio.  And this patch also does some trival
cleanup to fix the code style problems.

Link: https://lkml.kernel.org/r/20231127084645.27017-5-songmuchun@bytedance.com
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/hugetlb_vmemmap.c