Re: [PATCH 2/2] scripts/gdb: slab: Update field names of struct kmem_cache

Harry Yoo (Oracle)
2026-04-28T06:04:34Z

On Mon, Apr 27, 2026 at 04:24:48PM +0200, Illia Ostapyshyn wrote:
> The commit 5ba6bc27b1f9 ("slab: decouple pointer to barn from
> kmem_cache_node") reorganized the struct kmem_cache to factor out the
> per-node fields to the new struct kmem_cache_per_node_ptrs. This causes
> the gdb scripts for lx-slabinfo and lx-slabtrace fail as they still
> reference the old structure.
>
> Adjust the gdb scripts to match the current state of struct kmem_cache.
>
> Fixes: 5ba6bc27b1f9 ("slab: decouple pointer to barn from kmem_cache_node")
> Signed-off-by: Illia Ostapyshyn <illia@yshyn.com>
> ---

Looks good to me,
Acked-by: Harry Yoo (Oracle) <harry@kernel.org>

--
Cheers,
Harry / Hyeonggon