diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-15 01:06:51 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-01-15 17:30:28 +0300 |
commit | d08d2b62510e2407cf939e693aefd179dc114913 (patch) | |
tree | 7c4b1be61baf0bb47d1a547d1289342840534999 /lib/refcount.c | |
parent | 66c7f7a6ac6624fc7e226d43913e10f1f047f579 (diff) | |
download | linux-d08d2b62510e2407cf939e693aefd179dc114913.tar.xz |
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>
Diffstat (limited to 'lib/refcount.c')
0 files changed, 0 insertions, 0 deletions