diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-01-18 08:14:00 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-09-27 09:27:29 -0400 |
commit | a53e17e4e97b4519882d640984a386c522e9fba3 (patch) | |
tree | 170a79558f585fe1d30c04363cafc50fcecc5028 /include/linux/mmdebug.h | |
parent | 32b8fc486524044f2643c5d3340fa436b761ba71 (diff) | |
download | lwn-a53e17e4e97b4519882d640984a386c522e9fba3.tar.gz lwn-a53e17e4e97b4519882d640984a386c522e9fba3.zip |
mm/vmstat: Add functions to account folio statistics
Allow page counters to be more readily modified by callers which have
a folio. Name these wrappers with 'stat' instead of 'state' as requested
by Linus here:
https://lore.kernel.org/linux-mm/CAHk-=wj847SudR-kt+46fT3+xFFgiwpgThvm7DJWGdi4cVrbnQ@mail.gmail.com/
No change to generated code.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jeff Layton <jlayton@kernel.org>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Diffstat (limited to 'include/linux/mmdebug.h')
0 files changed, 0 insertions, 0 deletions