On Fri, 21 Mar 2025, Kees Cook wrote:
> diff --git a/include/linux/slab.h b/include/linux/slab.h
> index 2717ad238fa2..a4740c8b6ccb 100644
> --- a/include/linux/slab.h
> +++ b/include/linux/slab.h
> @@ -469,6 +469,8 @@ void __kfree(const void *objp);
> void __kfree_sensitive(const void *objp);
>
On Wed, 22 Jan 2025, GONG Ruiqi wrote:
>
> +void *__kmalloc_node_inline(size_t size, kmem_buckets *b, gfp_t flags,
> + int node, unsigned long caller);
> +
Huh? Is this inline? Where is the body of the function?
> diff --git a/mm/slub.c b/mm/slub.c
> index c2151c9fee
On Tue, 27 Aug 2024, Kees Cook wrote:
> > Since that could be feasible to apply only if Linus ran that directly
> > himself, including him now. Because doing it any other way would leave us
> > semi-converted forever and not bring the full benefits?
>
> Right -- I'd want to do a mass conversion an
On Mon, 8 Jul 2024, Kees Cook wrote:
obj = kmalloc(obj, gfp);
Could we avoid repeating "obj" in this pattern?
F.e.
KMALLOC(obj, gfp);
instead?
On Mon, 20 Nov 2023, Vlastimil Babka wrote:
Remove the SLAB implementation. Update CREDITS.
Also update and properly sort the SLOB entry there.
RIP SLAB allocator (1996 - 2024)
Reviewed-by: Kees Cook
Signed-off-by: Vlastimil Babka
Acked-by: Christoph Lameter