Re: [PATCH v2 2/5] mm/sl[au]b: unify __ksize()
From: Hyeonggon Yoo
Date: Fri Mar 04 2022 - 23:02:15 EST
On Fri, Mar 04, 2022 at 07:25:47PM +0100, Vlastimil Babka wrote:
> On 3/4/22 07:34, Hyeonggon Yoo wrote:
> > Now that SLAB passes large requests to page allocator like SLUB,
> > Unify __ksize(). Only SLOB need to implement own version of __ksize()
> > because it stores size in object header for kmalloc objects.
> >
> > Signed-off-by: Hyeonggon Yoo <42.hyeyoo@xxxxxxxxx>
>
> Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx>
>
> As discussed, we can be more specific about the !folio_test_slab() case, but
> that can be done on top.
I'll add that in v3. Thanks!
--
Thank you, You are awesome!
Hyeonggon :-)