On 14.06.24 03: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> ---
Would have converted that VM_BUG_ON to a VM_WARN_ON_ONCE, but it's just moving code, so no big deal.
Thanks! Acked-by: David Hildenbrand <david@xxxxxxxxxx> -- Cheers, David / dhildenb