summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-06-30 09:35:38 +0000
committerJakub Kicinski <kuba@kernel.org>2025-07-02 14:22:02 -0700
commit998642e999d23324c5dbf38149606d09cec2c377 (patch)
tree193d01be8d1645ffa13c80a50ca3a61281798313 /net/unix/af_unix.c
parent3715b5df09b92168a4492b48bb7ea70d89f9d8f3 (diff)
net: move net_cookie into net_aligned_data
Using per-cpu data for net->net_cookie generation is overkill, because even busy hosts do not create hundreds of netns per second. Make sure to put net_cookie in a private cache line to avoid potential false sharing. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20250630093540.3052835-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions