Messages in this thread |  | | Date | Sat, 6 Sep 2025 16:02:28 +0800 | | From | Herbert Xu <> | | 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@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
|  |