]> exis.tech > repos - linux.git/commit
mm: huge_memory: convert madvise_free_huge_pmd to use a folio
authorKefeng Wang <redacted>
Wed, 7 Dec 2022 02:34:30 +0000 (10:34 +0800)
committerAndrew Morton <redacted>
Thu, 19 Jan 2023 01:12:42 +0000 (17:12 -0800)
commitfc986a38b670d9b8f6af0596e973976018314a59
tree4b5699156e3381f574d0a5317f72c9cc807c0369
parentcb6c33d4dc09a8fddda1867708956c27615775f4
mm: huge_memory: convert madvise_free_huge_pmd to use a folio

Using folios instead of pages removes several calls to compound_head(),

Link: https://lkml.kernel.org/r/20221207023431.151008-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <redacted>
Reviewed-by: Vishal Moola (Oracle) <redacted>
Cc: Matthew Wilcox (Oracle) <redacted>
Signed-off-by: Andrew Morton <redacted>
mm/huge_memory.c