mm: remove page_add_new_anon_rmap and lru_cache_add_inactive_or_unevictable
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 11 Dec 2023 16:22:14 +0000 (16:22 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:27 +0000 (11:58 -0800)
commitcafa8e37a2ebd344ae0774324c21f46640bbaab3
tree6c691230affaaf37adc6daee4edd0b56cf8209d1
parent5432726848bb27a01badcbc93b596f39ee6c5ffb
mm: remove page_add_new_anon_rmap and lru_cache_add_inactive_or_unevictable

All callers have now been converted to folio_add_new_anon_rmap() and
folio_add_lru_vma() so we can remove the wrapper.

Link: https://lkml.kernel.org/r/20231211162214.2146080-10-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/rmap.h
include/linux/swap.h
mm/folio-compat.c