]> git.baikalelectronics.ru Git - kernel.git/commit
mm: remove the total_mapcount argument from page_trans_huge_map_swapcount()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 14 Jan 2022 22:06:48 +0000 (14:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Jan 2022 14:30:28 +0000 (16:30 +0200)
commit1f6f7129b476552707f1f1ce61ec28ba08f07029
tree10e76285091311b209a711452a21622e1cb14490
parent4d37040b414ec81fd66a2b4235933a3fe98261fc
mm: remove the total_mapcount argument from page_trans_huge_map_swapcount()

Now that we don't report it to the caller of reuse_swap_page(), we don't
need to request it from page_trans_huge_map_swapcount().

Link: https://lkml.kernel.org/r/20211220205943.456187-2-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/swapfile.c