On 13 Jun 2024, at 21:51, Lance Yang wrote: > In preparation for supporting try_to_unmap_one() to unmap PMD-mapped > folios, start the pagewalk first, then call split_huge_pmd_address() to > split the folio. > > Suggested-by: David Hildenbrand <david@xxxxxxxxxx> > Suggested-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx> > Signed-off-by: Lance Yang <ioworker0@xxxxxxxxx> > --- > include/linux/huge_mm.h | 6 ++++++ > include/linux/rmap.h | 24 +++++++++++++++++++++++ > mm/huge_memory.c | 42 +++++++++++++++++++++-------------------- > mm/rmap.c | 21 +++++++++++++++------ > 4 files changed, 67 insertions(+), 26 deletions(-) Thanks. Acked-by: Zi Yan <ziy@xxxxxxxxxx> -- Best Regards, Yan, Zi
Attachment:
signature.asc
Description: OpenPGP digital signature