On Sun, May 21, 2023 at 11:19 PM Hugh Dickins <hughd@xxxxxxxxxx> wrote: > > MGLRU's walk_pte_range() use the safer pte_offset_map_nolock(), rather > than pte_lockptr(), to get the ptl for its trylock. Just return false > and move on to next extent if it fails, like when the trylock fails. > Remove the VM_WARN_ON_ONCE(pmd_leaf) since that will happen, rarely. > > Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx> Acked-by: Yu Zhao <yuzhao@xxxxxxxxxx>