]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mm: introduce memdesc_nid()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 5 Aug 2025 17:22:53 +0000 (18:22 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Sep 2025 23:55:07 +0000 (16:55 -0700)
commiteb00fdd84ddabd6948d26595bb5e8c1302220d37
tree1184dad5d4a4aeaab46f9eb87663591b73e12611
parent56d578c1300f7efe9605b75714173dd3fda16fe2
mm: introduce memdesc_nid()

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

Link: https://lkml.kernel.org/r/20250805172307.1302730-4-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/mm.h
mm/sparse.c