Re: [PATCH v5 06/37] mm: introduce slabobj_ext to support slab object extensions

From: Vlastimil Babka
Date: Wed Mar 13 2024 - 09:58:56 EST


On 3/6/24 19:24, Suren Baghdasaryan wrote:
> Currently slab pages can store only vectors of obj_cgroup pointers in
> page->memcg_data. Introduce slabobj_ext structure to allow more data
> to be stored for each slab object. Wrap obj_cgroup into slabobj_ext
> to support current functionality while allowing to extend slabobj_ext
> in the future.
>
> Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
> Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>

Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx>