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

All callers pass NULL, so we can stop calculating the value we would
store in it.

Link: https://lkml.kernel.org/r/20211220205943.456187-3-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>
include/linux/mm.h
include/linux/swap.h
mm/huge_memory.c
mm/swapfile.c