[PATCH v3 00/22] Move notrace from inline to __always_inline
Steven Rostedt
rostedt at goodmis.org
Wed Dec 2 09:11:50 PST 2026
On Wed, 02 Dec 2026 22:49:41 +0900
"Masami Hiramatsu (Google)" <mhiramat at kernel.org> wrote:
> More importantly, there is a structural maintainability problem.
> It is impossible to know in advance whether a `static inline` helper
> function will actually be inlined or generated as standalone code.
> Unlike `noinstr` on x86, there is no compile-time check tool
> (such as objtool) detecting - across different architectures -
> calls from a function marked `notrace` to a function that is
> traceable.
>
> So, I am opposed to making global semantic changes before such tools
> are in place.
Could simply add a config to make all inline nops. If you really need
something inlined, you use __always_inline.
-- Steve
More information about the linux-arm-kernel
mailing list