mm/huge_memory: page_add_anon_rmap() -> folio_add_anon_rmap_pmd()
authorDavid Hildenbrand <david@redhat.com>
Wed, 20 Dec 2023 22:44:40 +0000 (23:44 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 Dec 2023 19:58:51 +0000 (11:58 -0800)
commit395db7b190892f1ca8d31e1fc83198e2531335f6
tree2c0e9a05cd8afe9323cbfb4fdffd0749aa7b0a5a
parent91b2978a348073db0e47b380fa66c865eb25f3d8
mm/huge_memory: page_add_anon_rmap() -> folio_add_anon_rmap_pmd()

Let's convert remove_migration_pmd().  No need to set RMAP_COMPOUND, that
we will remove soon.

Link: https://lkml.kernel.org/r/20231220224504.646757-17-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Yin Fengwei <fengwei.yin@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c