diff options
author | 2023-01-11 14:28:50 +0000 | |
---|---|---|
committer | 2023-02-02 22:32:55 -0800 | |
commit | b14224fbea62e5bffd680613376fe1268f4103ba (patch) | |
tree | 37e2e52f09d8e1ddd8d661fd57efa1d349bf35ff /mm/debug.c | |
parent | doc: clarify refcount section by referring to folios & pages (diff) | |
download | wireguard-linux-b14224fbea62e5bffd680613376fe1268f4103ba.tar.xz wireguard-linux-b14224fbea62e5bffd680613376fe1268f4103ba.zip |
mm: convert total_compound_mapcount() to folio_total_mapcount()
Instead of enforcing that the argument must be a head page by naming,
enforce it with the compiler by making it a folio. Also rename the
counter in struct folio from _compound_mapcount to _entire_mapcount.
Link: https://lkml.kernel.org/r/20230111142915.1001531-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions