Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vmscan: check folio_test_private(), not folio_get_private()
These two predicates are the same for file pages, but are not the same for anonymous pages. Link: https://lkml.kernel.org/r/[email protected] Fixes: 07f67a8 ("mm/vmscan: convert shrink_active_list() to use a folio") Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reported-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information