commit | b14224fbea62e5bffd680613376fe1268f4103ba | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Wed Jan 11 14:28:50 2023 +0000 |
committer | Andrew Morton <akpm@linux-foundation.org> | Thu Feb 02 22:32:55 2023 -0800 |
tree | 37e2e52f09d8e1ddd8d661fd57efa1d349bf35ff | |
parent | 6eee1a0062298601dfc36bd34517affc4458c43d [diff] |
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>