> On Dec 19, 2023, at 15:55, pet...@redhat.com wrote: > > From: Peter Xu <pet...@redhat.com> > > Introduce per-vma begin()/end() helpers for pgtable walks. This is a > preparation work to merge hugetlb pgtable walkers with generic mm. > > The helpers need to be called before and after a pgtable walk, will start > to be needed if the pgtable walker code supports hugetlb pages. It's a > hook point for any type of VMA, but for now only hugetlb uses it to > stablize the pgtable pages from getting away (due to possible pmd > unsharing). > > Reviewed-by: Christoph Hellwig <h...@infradead.org> > Signed-off-by: Peter Xu <pet...@redhat.com> Reviewed-by: Muchun Song <songmuc...@bytedance.com> Thanks.
- [PATCH 00/13] mm/gup: Unify hugetlb, part 2 peterx
- [PATCH 01/13] mm/Kconfig: CONFIG_PGTABLE_HAS_HUGE_LEAV... peterx
- [PATCH 02/13] mm/hugetlb: Declare hugetlbfs_pagecache_... peterx
- [PATCH 03/13] mm: Provide generic pmd_thp_or_huge() peterx
- [PATCH 04/13] mm: Make HPAGE_PXD_* macros even if !THP peterx
- [PATCH 05/13] mm: Introduce vma_pgtable_walk_{begin|en... peterx
- Re: [PATCH 05/13] mm: Introduce vma_pgtable_walk_{... Muchun Song
- [PATCH 06/13] mm/gup: Drop folio_fast_pin_allowed() in... peterx
- [PATCH 07/13] mm/gup: Refactor record_subpages() to fi... peterx
- [PATCH 08/13] mm/gup: Handle hugetlb for no_page_table... peterx
- [PATCH 09/13] mm/gup: Cache *pudp in follow_pud_mask() peterx
- [PATCH 10/13] mm/gup: Handle huge pud for follow_pud_m... peterx
- [PATCH 11/13] mm/gup: Handle huge pmd for follow_pmd_m... peterx