Re: [PATCH v2 05/13] mm/slab: make slab_obj_ext() determine object index

From: Hao Li

Date: Thu Jul 23 2026 - 07:40:36 EST


On Mon, Jul 20, 2026 at 04:16:19PM +0200, Vlastimil Babka (SUSE) wrote:
> All callers perform the same obj_to_index() calculation to pass the
> index. Simplify by passing object pointer instead and determining the
> index by slab_obj_ext().
>
> Reviewed-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
> Signed-off-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>

Looks good to me.
Reviewed-by: Hao Li <hao.li@xxxxxxxxx>

--
Thanks,
Hao