]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: convert isolate_page() to mf_isolate_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 8 Nov 2023 18:28:08 +0000 (18:28 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 20 Nov 2023 21:16:30 +0000 (13:16 -0800)
commit9e23dc170e3919cab31639c9dc0e49e606d68ff1
tree0c5af8b219bbfe6b1b36340a5689460f579094c5
parentccc46a48560ef5cbab3e58af8410ad19f674c38c
mm: convert isolate_page() to mf_isolate_folio()

The only caller now has a folio, so pass it in and operate on it.  Saves
many page->folio conversions and introduces only one folio->page
conversion when calling isolate_movable_page().

Link: https://lkml.kernel.org/r/20231108182809.602073-6-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