[0/4] Code simplification and clean-up for hugetlb vmemmap

Message ID 20231127084645.27017-1-songmuchun@bytedance.com
Headers
Series Code simplification and clean-up for hugetlb vmemmap |

Message

Muchun Song Nov. 27, 2023, 8:46 a.m. UTC
  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(-)