Re: [PATCH] lsm: rust: mark SecurityCtx methods inline
From: Andreas Hindborg
Date: Mon Mar 03 2025 - 13:35:00 EST
"Alice Ryhl" <aliceryhl@xxxxxxxxxx> writes:
> I'm seeing Binder generating calls to methods on SecurityCtx such as
> from_secid and drop 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@xxxxxxxxxx>
Reviewed-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
Best regards,
Andreas Hindborg