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

From: Harry Yoo (Oracle)

Date: Tue Apr 28 2026 - 02:07:28 EST


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@xxxxxxxxx>
> ---

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

--
Cheers,
Harry / Hyeonggon