Re: [PATCH v3 00/13] mm/slab, alloc_tag: reduce obj_ext memory waste
"Vlastimil Babka (SUSE)" <[email protected]> Tue, 28 Jul 2026 19:46:47 +0200
| Newsgroups | org.kernel.vger.cgroups,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On 7/27/26 14:53, Vlastimil Babka (SUSE) wrote: > --- > Vlastimil Babka (SUSE) (13): > mm/slab: skip kfence objects in allocation profiling > mm/slab: remove objs_per_slab() > mm: move struct slabobj_ext to mm/slab.h > mm/slab: make slab_obj_ext() determine object index > mm/slab: abstract slabobj_ext.objcg access > mm/slab: abstract slabobj_ext.ref access > mm/slab: replace slab.stride with obj_exts_in_object > mm/slab: change struct slabobj_ext to a union > mm/slab: introduce slab_obj_ext_has_codetag() > mm/slab: reduce slabobj_ext memory with allocation profiling disabled > mm/slab: add cache_ and slab_needs_objcg() helpers > mm/slab: stop allocating objcg pointers when unnecessary > mm/slab, kfence, memcg: completely remove obj_ext for kfence objects > > Documentation/mm/allocation-profiling.rst | 7 ++ > include/linux/memcontrol.h | 13 -- > include/linux/slab.h | 3 + > mm/kfence/core.c | 12 -- > mm/kfence/kfence.h | 3 - > mm/kfence/kfence_test.c | 2 +- > mm/memcontrol.c | 40 ++++--- > mm/slab.h | 189 ++++++++++++++++++++++++------ > mm/slab_common.c | 26 +++- > mm/slub.c | 184 ++++++++++++++++++----------- > 10 files changed, 325 insertions(+), 154 deletions(-) > --- > base-commit: 5ff172f6c94d282d83cb88bdfec5f647ad9c6105 > change-id: 20260714-b4-objext_split-da82426257d5 Applied (with fixed up 10/13 per sashiko, and 09/13 with a debug check per Harry). To slab.git slab/for-7.3/objext_split and merged to slab/for-next.