mm: convert free_zone_device_page to free_zone_device_folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 5 Apr 2024 15:32:27 +0000 (16:32 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 26 Apr 2024 03:56:44 +0000 (20:56 -0700)
commit9f100e3b37590828ae23b0210ee634d14b28b8e8
tree18da8c0270f6ef2122375fb821e1a1827fe03353
parent79a48287515848c18a49d75c1fdf176c82bb13cf
mm: convert free_zone_device_page to free_zone_device_folio

Both callers already have a folio; pass it in and save a few calls to
compound_head().

Link: https://lkml.kernel.org/r/20240405153228.2563754-6-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/internal.h
mm/memremap.c
mm/swap.c