rmap: pass the folio to __page_check_anon_rmap()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 6 Jul 2023 19:52:51 +0000 (20:52 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:12 +0000 (10:12 -0700)
commitdba438bd7663fefab870a6dd4b01ed0923c32d79
tree3509e2980406857a8af31b682021bc760b1d0b72
parent35fb4764c8b2cdd91820761eb03c18106d46b8ae
rmap: pass the folio to __page_check_anon_rmap()

The lone caller already has the folio, so pass it in instead of deriving
it from the page again.

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