summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-03-02 21:14:27 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-05 03:54:09 +0300
commit61753849b8bc6420cc5834fb3de331ce1134060d (patch)
treea318eee4ec98491dc074dcf229b58a61c49609aa /include
parent42a101775bc515a77ac0c39de6cef42aa7abb3a7 (diff)
downloadlinux-61753849b8bc6420cc5834fb3de331ce1134060d.tar.xz
net-sysfs: remove rcu field from 'struct rps_sock_flow_table'
Removing rcu_head (and @mask in a following patch) will allow a power-of-two allocation and thus high-order allocation for better performance. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20260302181432.1836150-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/rps.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/rps.h b/include/net/rps.h
index f1794cd2e7fb..32cfa250d9f9 100644
--- a/include/net/rps.h
+++ b/include/net/rps.h
@@ -60,7 +60,6 @@ struct rps_dev_flow_table {
* meaning we use 32-6=26 bits for the hash.
*/
struct rps_sock_flow_table {
- struct rcu_head rcu;
u32 mask;
u32 ents[] ____cacheline_aligned_in_smp;