Re: [PATCH v2 06/13] mm/slab: abstract slabobj_ext.objcg access
From: Hao Li
Date: Thu Jul 23 2026 - 07:39:41 EST
On Mon, Jul 20, 2026 at 04:16:20PM +0200, Vlastimil Babka (SUSE) wrote:
> In preparation for changes to the structure, abstract getting and
> setting the objcg field with slab_obj_ext_objcg() and
> slab_obj_ext_set_objcg().
> Rename the field to _objcg to make an unexpected direct access a compile
> error.
>
> No functional change intended.
>
> Signed-off-by: Vlastimil Babka (SUSE) <vbabka@xxxxxxxxxx>
Looks good to me.
Reviewed-by: Hao Li <hao.li@xxxxxxxxx>
--
Thanks,
Hao