This series aims to simplify and clean the code of hugetlb vmemmap, please look at the commit message of each individual patch for more details. Thanks. Muchun Song (4): mm: pagewalk: assert write mmap lock only for walking the user page tables mm: hugetlb_vmemmap: use walk_page_range_novma() to simplify the code mm: hugetlb_vmemmap: move PageVmemmapSelfHosted() check to split_vmemmap_huge_pmd() mm: hugetlb_vmemmap: convert page to folio mm/hugetlb_vmemmap.c | 259 ++++++++++++++----------------------------- mm/pagewalk.c | 29 ++++- 2 files changed, 111 insertions(+), 177 deletions(-) -- 2.20.1