[PATCH v3 22/22] compiler_types: Move notrace from inline to __always_inline

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Tue Dec 1 03:04:38 PST 2026


On Tue, Dec 1, 2026 at 5:29 AM Song Liu <song at kernel.org> wrote:
>
> -#define __always_inline                 inline __attribute__((__always_inline__))
> +#define __always_inline                 inline __attribute__((__always_inline__)) notrace

The LLMs point out that this would break, and yeah: this header is
supposed to stand on its own (please see the comment at the top of the
file), so if this would need to do something else (like moving
`__always_inline` out of the file, like `__preserve_most` which also
uses `notrace`).

Thanks!

Cheers,
Miguel



More information about the linux-arm-kernel mailing list