aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2022-01-24 12:24:55 -0800
committerDavid S. Miller <[email protected]>2022-01-25 11:25:21 +0000
commita15c89c703d43490ea68ea4516553d4ea4f6b1e1 (patch)
treedff2f3378a0fadd25de420192817717b86d064f2 /tools/perf/util/scripting-engines/trace-event-python.c
parent0dad4087a86a2cbe177404dc73f18ada26a2c390 (diff)
ipv4: do not use per netns icmp sockets
Back in linux-2.6.25 (commit 4a6ad7a141cb "[NETNS]: Make icmp_sk per namespace."), we added private per-cpu/per-netns ipv4 icmp sockets. This adds memory and cpu costs, which do not seem needed. Now typical servers have 256 or more cores, this adds considerable tax to netns users. icmp sockets are used from BH context, are not receiving packets, and do not store any persistent state but the 'struct net' pointer. icmp_xmit_lock() already makes sure to lock the chosen per-cpu socket. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions