diff options
| author | Eric Dumazet <[email protected]> | 2025-06-30 09:35:38 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-07-02 21:22:02 +0000 |
| commit | 998642e999d23324c5dbf38149606d09cec2c377 (patch) | |
| tree | 193d01be8d1645ffa13c80a50ca3a61281798313 /net/mptcp/protocol.c | |
| parent | net: add struct net_aligned_data (diff) | |
| download | kernel-998642e999d23324c5dbf38149606d09cec2c377.tar.gz kernel-998642e999d23324c5dbf38149606d09cec2c377.zip | |
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 <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/mptcp/protocol.c')
0 files changed, 0 insertions, 0 deletions
