[PATCH v2 1/3] compiler_types: Introduce the Clang __preserve_most function attribute

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Fri Aug 4 23:35:43 PDT 2023


On Fri, Aug 4, 2023 at 11:06 AM Marco Elver <elver at google.com> wrote:
>
> will imply notrace. It is recommended to restrict use of the attribute
> to functions that should or already disable tracing.

Should the last sentence here be added into the code comment?

Apart from that this looks fine from a `compiler_attributes.h`
perspective (even if we are not there anymore):

Reviewed-by: Miguel Ojeda <ojeda at kernel.org>

Cheers,
Miguel



More information about the linux-arm-kernel mailing list