[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aLvqlCL113D59jZl@gondor.apana.org.au>
Date: Sat, 6 Sep 2025 16:02:28 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Menglong Dong <menglong8.dong@...il.com>
Cc: tgraf@...g.ch, menglong.dong@...ux.dev, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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@...natelecom.cn>
> ---
> include/linux/rhashtable.h | 42 +++++++++++++++++++-------------------
> 1 file changed, 21 insertions(+), 21 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists