mm: use a folio in hugepage_add_anon_rmap() and hugepage_add_new_anon_rmap()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 11 Jan 2023 14:28:56 +0000 (14:28 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 3 Feb 2023 06:32:56 +0000 (22:32 -0800)
commitdb4e5dbdcdd55482ab23bf4a0ae6746f93efb0d9
tree086e8ce6bfb522c17f8eca8f9beece60734ba88d
parent65a689f35ad7ebbfb79f429c1bc290b042ebb10b
mm: use a folio in hugepage_add_anon_rmap() and hugepage_add_new_anon_rmap()

Remove uses of compound_mapcount_ptr()

Link: https://lkml.kernel.org/r/20230111142915.1001531-11-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/rmap.c