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

Hao Li <[email protected]> Thu, 23 Jul 2026 19:30:26 +0800
Newsgroups org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <amH7RRa2lG51viwo@fedora>
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 <[email protected]>
> Signed-off-by: Vlastimil Babka (SUSE) <[email protected]>

Looks good to me.
Reviewed-by: Hao Li <[email protected]>

-- 
Thanks,
Hao