Re: arm: kasan: WARNING: CPU: 0 PID: 0 at arch/arm/kernel/insn.c:47 __arm_gen_branch
From: Linus Walleij
Date: Wed Nov 11 2020 - 04:12:48 EST
On Wed, Nov 11, 2020 at 9:15 AM Ard Biesheuvel <ardb@xxxxxxxxxx> wrote:
> (23552K kernel code, 9970K rwdata, 16736K rodata, 3072K init, 4849K
> bss, 189072K reserved, 65536K cma-reserved, 2293756K highmem)
>
> and so the kernel text section is too large to resolve relative branches.
Hm, that's really exotic but it's bound to happen. It'd be great if we
could warn about that. Maybe even at link
time, I wonder how hard it would be?
Yours,
Linus Walleij