]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/slab: Introduce kmem_buckets typedef
authorKees Cook <kees@kernel.org>
Mon, 1 Jul 2024 19:12:58 +0000 (12:12 -0700)
committerVlastimil Babka <vbabka@suse.cz>
Wed, 3 Jul 2024 10:24:19 +0000 (12:24 +0200)
commit72e0fe2241ce113cbba339ca8c2450b167774530
tree07b844d9297b807a9c3bf567b2ca10ec387a0c60
parentad59baa3169591e0b4cf1a217c9139f2145f4c7f
mm/slab: Introduce kmem_buckets typedef

Encapsulate the concept of a single set of kmem_caches that are used
for the kmalloc size buckets. Redefine kmalloc_caches as an array
of these buckets (for the different global cache buckets).

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