8/10
mm/madvise: separate the PTL-held PTE scan
The PTE loop’s scan is broken up by the two places that drop the PTE lock: the periodic reschedule and the large-folio split. Move the scan into madvise_lru_pte_range_locked(), which runs entirely un
The PTE loop’s scan is broken up by the two places that drop the PTE lock: the periodic reschedule and the large-folio split. Move the scan into madvise_lru_pte_range_locked(), which runs entirely un