]> www.infradead.org Git - users/jedix/linux-maple.git/commit
memory-failure: convert delete_from_lru_cache() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 17 Nov 2023 16:14:44 +0000 (16:14 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 20 Nov 2023 21:16:35 +0000 (13:16 -0800)
commitd55cf2b09d27cb17a183f3d199fdaa85c7ec9c7d
tree1d5238bbbcd392c7e368b939a4a81d284d05a0fd
parent61ddd61f011481f371cd85e459beab3d211a38b9
memory-failure: convert delete_from_lru_cache() to take a folio

All three callers now have a folio; pass it in instead of the page.
Saves five calls to compound_head().

Link: https://lkml.kernel.org/r/20231117161447.2461643-4-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory-failure.c