]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/slab: Introduce kvmalloc_buckets_node() that can take kmem_buckets argument
authorKees Cook <kees@kernel.org>
Mon, 1 Jul 2024 19:13:00 +0000 (12:13 -0700)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 3 Jul 2024 10:24:19 +0000 (12:24 +0200)
commit2e8000b826fcd2716449d09753d5ed843067881e
treeb33af054aa12947149b094075755e59faf078c36
parent67f2df3b82d091ed095d0e47e1f3a9d3e18e4e41
mm/slab: Introduce kvmalloc_buckets_node() that can take kmem_buckets argument

Plumb kmem_buckets arguments through kvmalloc_node_noprof() so it is
possible to provide an API to perform kvmalloc-style allocations with
a particular set of buckets. Introduce kvmalloc_buckets_node() that takes a
kmem_buckets argument.

Signed-off-by: Kees Cook <kees@kernel.org>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/slab.h
mm/util.c