diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-02-27 17:42:52 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-03-04 17:01:26 -0800 |
commit | 63b774993dd02b17127cb404b7362fc436632995 (patch) | |
tree | 02b72f16b961eac6a81ec763585370f19c68b757 /init/main.c | |
parent | d4111eecdc3c2a5eabafcc467dbfce0e216fa485 (diff) |
mm: convert free_swap_cache() to take a folio
All but one caller already has a folio, so convert
free_page_and_swap_cache() to have a folio and remove the call to
page_folio().
Link: https://lkml.kernel.org/r/20240227174254.710559-19-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Ryan Roberts <ryan.roberts@arm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Mel Gorman <mgorman@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions