[PATCH] cred: rust: mark Credential methods inline
Andreas Hindborg
a.hindborg at kernel.org
Mon Mar 3 18:37:09 UTC 2025
"Alice Ryhl" <aliceryhl at google.com> writes:
> I'm seeing Binder generating calls to methods on Credential such as
> get_secid, inc_ref, and dec_ref without inlining. Since these methods
> are really simple wrappers around C functions, mark the methods to
> inline to avoid generating these useless small functions.
>
> Signed-off-by: Alice Ryhl <aliceryhl at google.com>
Reviewed-by: Andreas Hindborg <a.hindborg at kernel.org>
Best regards,
Andreas Hindborg
More information about the Linux-security-module-archive
mailing list