You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mm: lru: move VM_WARN_ON_ONCE_FOLIO before MGLRU functions
Commit 8e7b52b ("mm: lru: add VM_WARN_ON_ONCE_FOLIO to lru
maintenance function") added VM_WARN_ON_ONCE_FOLIO to lru maintenance
functions. But the checks are placed after MGLRU's lru maintenance
functions and therefore doesn't trigger when MGLRU is enabled.
Move the check ealier to make sure that we catch any attempts to
insert into or remove from an incorrect lruvec, regardless of whether
MGLRU is enabled.
Orabug: 37997580
Reviewed-by: Imran Khan <[email protected]>
Signed-off-by: Harry Yoo <[email protected]>
0 commit comments