]> www.infradead.org Git - users/jedix/linux-maple.git/commit
slab: use memdesc_nid()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 5 Aug 2025 17:22:56 +0000 (18:22 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Sep 2025 23:55:08 +0000 (16:55 -0700)
commit11afccce2ac5fd1ea5e6f0d251e746df782c8cfe
tree22818336da65ad3a94b20dabd026ba9102cba98a
parent87479378acdd79a0ac84be0b823e37e3816433d9
slab: use memdesc_nid()

We no longer need to convert from slab to folio to get the nid, we can ask
memdesc_nid() for the nid directly.

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