Re: [PATCH v2 12/19] lib/stackdepot: use list_head for stack record links

From: Andrew Morton
Date: Sat Sep 16 2023 - 16:05:04 EST


On Sat, 16 Sep 2023 19:43:35 +0200 Anders Roxell <anders.roxell@xxxxxxxxxx> wrote:

> On 2023-09-13 19:14, andrey.konovalov@xxxxxxxxx wrote:
> > From: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
> >
> > Switch stack_record to use list_head for links in the hash table
> > and in the freelist.
> >
> > This will allow removing entries from the hash table buckets.
> >
> > This is preparatory patch for implementing the eviction of stack records
> > from the stack depot.
> >
> > Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
> >
>
> Building on an arm64 kernel from linux-next tag next-20230915, and boot
> that in QEMU. I see the following kernel panic.
>
> ...
>
> The full log can be found [1] and the .config file [2]. I bisected down
> to this commit, see the bisect log [3].
>
> When reverted these two commits I managed to build and the kernel
> booted.
>
> 47590ecf1166 ("lib/stackdepot: use list_head for stack record links")
> 8729f3c26fc2 ("lib/stackdepot: allow users to evict stack traces")

Thanks, I have dropped this v2 series.