[PATCH] cred: rust: mark Credential methods inline
    Christian Brauner 
    brauner at kernel.org
       
    Tue Mar  4 09:31:02 UTC 2025
    
    
  
On Mon, Mar 03, 2025 at 03:28:50PM +0000, Alice Ryhl wrote:
> 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>
> ---
Thanks!
Reviewed-by: Christian Brauner <brauner at kernel.org>
    
    
More information about the Linux-security-module-archive
mailing list