]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Add folio_pgdat(), folio_zone() and folio_zonenum()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 18 Jan 2021 12:40:36 +0000 (07:40 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 13 Aug 2021 18:18:45 +0000 (14:18 -0400)
commit34dbdc45bf1d56796d30842f441943bf1cece614
treebadc71d91006f78f1e23e417e3dc38a1cb03ee1e
parentecefbe302a477ae9a4753b364aadb0a6b711538c
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>
include/linux/mm.h