summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-08-26 15:50:29 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-08-28 14:14:50 +0300
commitc51613fa276f038bdd18656a57a90ccc5d4e5200 (patch)
tree114a352c439984a17a8c3c44538cfa57a11f3575 /tools/perf/scripts/python/export-to-sqlite.py
parentcb4d5a6eb600a43c2e3ec7f54e06d07aa33d8062 (diff)
downloadlinux-c51613fa276f038bdd18656a57a90ccc5d4e5200.tar.xz
net: add sk->sk_drop_counters
Some sockets suffer from heavy false sharing on sk->sk_drops, and fields in the same cache line. Add sk->sk_drop_counters to: - move the drop counter(s) to dedicated cache lines. - Add basic NUMA awareness to these drop counter(s). Following patches will use this infrastructure for UDP and RAW sockets. sk_clone_lock() is not yet ready, it would need to properly set newsk->sk_drop_counters if we plan to use this for TCP sockets. v2: used Paolo suggestion from https://lore.kernel.org/netdev/8f09830a-d83d-43c9-b36b-88ba0a23e9b2@redhat.com/ Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com> Link: https://patch.msgid.link/20250826125031.1578842-4-edumazet@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions