mm/vmscan: Optimise shrink_page_list for non-PMD-sized folios
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 15 Aug 2020 23:28:51 +0000 (19:28 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 17:01:35 +0000 (13:01 -0400)
commit343b288834e84d0b175b20b4f48277bc33260986
tree28ae1d5fc74b4d20b7377243a166d7de32650cf3
parent820c4e2e6f517e4c0cee703265e275e3a08992e6
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: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/vmscan.c