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.