[PATCH v2 11/21] arm64: percpu: Annotate __kern_my_cpu_offset() as '__always_inline'

Linus Walleij linusw at kernel.org
Wed Sep 30 14:05:17 PDT 2026


On Fri, Sep 18, 2026 at 6:14 PM Will Deacon <will at kernel.org> wrote:

> Allow the use of per-cpu variables from noinstr functions by marking
> __kern_my_cpu_offset() as '__always_inline'. This will later be relied
> upon to detect stack overflow of the overflow stack from noinstr C code.
>
> Signed-off-by: Will Deacon <will at kernel.org>



More information about the linux-arm-kernel mailing list