Re: [PATCH v2 07/13] mm/slab: abstract slabobj_ext.ref access
From: Hao Li
Date: Thu Jul 23 2026 - 07:39:50 EST
On Mon, Jul 20, 2026 at 04:16:21PM +0200, Vlastimil Babka (SUSE) wrote:
> In preparation for changes to the structure, abstract access to the ref
> field with a slab_obj_ext_codetag_ref() function. Rename the field to
> _ctref to make an unexpected direct access a compile error.
>
> No functional change intended.
>
> 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