Re: arm64: perf test 26 rpi4 oops

From: Mike Galbraith
Date: Mon Jul 31 2023 - 12:08:30 EST


On Mon, 2023-07-31 at 12:52 +0100, Will Deacon wrote:
>
> diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c
> index 9cb32e1a78a0..3696a209c1ec 100644
> --- a/fs/proc/kcore.c
> +++ b/fs/proc/kcore.c
> @@ -635,7 +635,7 @@ static struct kcore_list kcore_text;
>   */
>  static void __init proc_kcore_text_init(void)
>  {
> -       kclist_add(&kcore_text, _text, _end - _text, KCORE_TEXT);
> +       kclist_add(&kcore_text, _stext, _etext - _stext, KCORE_TEXT);
>  }
>  #else
>  static void __init proc_kcore_text_init(void)

That did kill all 945 bogus start instances, and in a brief test drive,
did not appear to have annoyed crash.

The two odd arm64 specific huge objdump allocations persist fwtw.
Unrelated fossilized bug?.. who knows.

-Mike