Re: [PATCH 0/3] mm/slub: two small cleanups and a small fix
From: Jose A. Perez de Azpillaga
Date: Wed Dec 02 2026 - 06:29:46 EST
On 12/1/26 5:52 PM, Sang-Heon Jeon wrote:
> Hello,
>
> While reading the slab code, I found two small cleanups and a small fix.
>
> Patch 1 removes the always-true check in calculate_sizes().
>
> Patch 2 uses kmem_cache_alloc() in bootstrap() instead of
> kmem_cache_zalloc().
>
> Patch 3 copies only the requested size in kvrealloc() instead of
> ksize(p) bytes.
>
> These are *really* not urgent, so it is totally okay to respond after
> the firefighting is over.
all LGTM:
Reviewed-by: Jose A. Perez de Azpillaga <azpijr@xxxxxxxxx>
--
cheers,
jose a. p-a