lkml.org 
[lkml]   [2025]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] rhashtable: use __always_inline for rhashtable
On Fri, Aug 29, 2025 at 03:28:44PM +0800, Menglong Dong wrote:
> Sometimes, the compiler is not clever enough to inline the
> rhashtable_lookup() for us, even if the "obj_cmpfn" and "key_len" in
> params is const. This can introduce more overhead.
>
> Therefore, use __always_inline for the rhashtable.
>
> Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
> ---
> include/linux/rhashtable.h | 42 +++++++++++++++++++-------------------
> 1 file changed, 21 insertions(+), 21 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

\
 
 \ /
  Last update: 2025-09-06 10:03    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog