Message ID | 20240701190152.it.631-kees@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | slab: Introduce dedicated bucket allocator | expand |
On 7/1/24 9:12 PM, Kees Cook wrote: > > Kees Cook (6): > mm/slab: Introduce kmem_buckets typedef > mm/slab: Plumb kmem_buckets into __do_kmalloc_node() > mm/slab: Introduce kvmalloc_buckets_node() that can take kmem_buckets > argument > mm/slab: Introduce kmem_buckets_create() and family > ipc, msg: Use dedicated slab buckets for alloc_msg() > mm/util: Use dedicated slab buckets for memdup_user() pushed to slab/for-6.11/buckets, slab/for-next Thanks! > > include/linux/slab.h | 48 ++++++++++++--- > ipc/msgutil.c | 13 +++- > kernel/configs/hardening.config | 1 + > mm/Kconfig | 17 ++++++ > mm/slab.h | 6 +- > mm/slab_common.c | 101 +++++++++++++++++++++++++++++++- > mm/slub.c | 20 +++---- > mm/util.c | 23 ++++++-- > scripts/kernel-doc | 1 + > 9 files changed, 200 insertions(+), 30 deletions(-) >
On Tue, Jul 02, 2024 at 11:24:57AM +0200, Vlastimil Babka wrote: > On 7/1/24 9:12 PM, Kees Cook wrote: > > > > Kees Cook (6): > > mm/slab: Introduce kmem_buckets typedef > > mm/slab: Plumb kmem_buckets into __do_kmalloc_node() > > mm/slab: Introduce kvmalloc_buckets_node() that can take kmem_buckets > > argument > > mm/slab: Introduce kmem_buckets_create() and family > > ipc, msg: Use dedicated slab buckets for alloc_msg() > > mm/util: Use dedicated slab buckets for memdup_user() > > pushed to slab/for-6.11/buckets, slab/for-next Great! Thanks for the review and improvements! :) I'll get started on the next step getting it hooked up to the codetag bits...