summaryrefslogtreecommitdiffstats
path: root/include/linux/rmap.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-12-11 16:22:14 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-12-29 11:58:27 -0800
commitcafa8e37a2ebd344ae0774324c21f46640bbaab3 (patch)
tree6c691230affaaf37adc6daee4edd0b56cf8209d1 /include/linux/rmap.h
parent5432726848bb27a01badcbc93b596f39ee6c5ffb (diff)
downloadlinux-cafa8e37a2ebd344ae0774324c21f46640bbaab3.tar.gz
linux-cafa8e37a2ebd344ae0774324c21f46640bbaab3.tar.bz2
linux-cafa8e37a2ebd344ae0774324c21f46640bbaab3.zip
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>
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r--include/linux/rmap.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h
index af6a32b6f3e7..0ae2bb0e77f5 100644
--- a/include/linux/rmap.h
+++ b/include/linux/rmap.h
@@ -197,8 +197,6 @@ typedef int __bitwise rmap_t;
void folio_move_anon_rmap(struct folio *, struct vm_area_struct *);
void page_add_anon_rmap(struct page *, struct vm_area_struct *,
unsigned long address, rmap_t flags);
-void page_add_new_anon_rmap(struct page *, struct vm_area_struct *,
- unsigned long address);
void folio_add_new_anon_rmap(struct folio *, struct vm_area_struct *,
unsigned long address);
void page_add_file_rmap(struct page *, struct vm_area_struct *,