aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/vmstat.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-01-18 07:40:36 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-09-27 09:27:29 -0400
commit32b8fc486524044f2643c5d3340fa436b761ba71 (patch)
treeff93adb35c83ad9e6e31bd7944f5e4c2a50b80c2 /include/linux/vmstat.h
parentmm: Introduce struct folio (diff)
downloadwireguard-linux-32b8fc486524044f2643c5d3340fa436b761ba71.tar.xz
wireguard-linux-32b8fc486524044f2643c5d3340fa436b761ba71.zip
mm: Add folio_pgdat(), folio_zone() and folio_zonenum()
These are just convenience wrappers for callers with folios; pgdat and zone can be reached from tail pages as well as head pages. No change to generated code. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Zi Yan <ziy@nvidia.com> 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/vmstat.h')
0 files changed, 0 insertions, 0 deletions