]> git.baikalelectronics.ru Git - kernel.git/commit
mm: convert page_get_anon_vma() to folio_get_anon_vma()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 2 Sep 2022 19:46:50 +0000 (20:46 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:02:54 +0000 (14:02 -0700)
commitdd0754bf2179f8eec2e6e9e2bcd0f1dc9adee466
tree0a3c92921ec829d35a9a989527bf84bc4f89b7e5
parent4270bc5bb3c40742c0d929516517520ed93ca181
mm: convert page_get_anon_vma() to folio_get_anon_vma()

With all callers now passing in a folio, rename the function and convert
all callers.  Removes a couple of calls to compound_head() and a reference
to page->mapping.

Link: https://lkml.kernel.org/r/20220902194653.1739778-55-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/rmap.h
mm/huge_memory.c
mm/migrate.c
mm/rmap.c