]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: introduce memdesc_zonenum()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 5 Aug 2025 17:22:54 +0000 (18:22 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 18 Aug 2025 05:09:03 +0000 (22:09 -0700)
commit29446dd80ef24e1e769f8b4a3aa6f4ac2d68321c
treee1532539205696ee77f7edf837c1e0ebe809d063
parent23f919c181d4e8c20c329b06986ab475b855e659
mm: introduce memdesc_zonenum()

Remove a conversion from folio to page by passing the folio->flags (which
are a copy of the page->flags) to the new memdesc_zonenum() function.

Link: https://lkml.kernel.org/r/20250805172307.1302730-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Cc: Shakeel Butt <shakeel.butt@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmzone.h