Skip to content
Commit 343b2888 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle)
Browse files

mm/vmscan: Optimise shrink_page_list for non-PMD-sized folios



A large folio which is smaller than a PMD does not need to do the extra
work in try_to_unmap() of trying to split a PMD entry.

Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
parent 820c4e2e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment