summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2025-08-28 13:14:52 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-08-28 13:14:52 +0200
commite25079858627916b22c4a789005a90a9fae808d8 (patch)
treeb01e1a944d6271c3505baaeff3fa5f1cd3663e06 /rust/helpers/build_bug.c
parentc2a756891bb428104fa8899998ba277042274cdb (diff)
parentb81aa23234d94d99951761d9864061d774633ba9 (diff)
Merge branch 'net-better-drop-accounting'
Eric Dumazet says: ==================== net: better drop accounting Incrementing sk->sk_drops for every dropped packet can cause serious cache line contention under DOS. Add optional sk->sk_drop_counters pointer so that protocols can opt-in to use two dedicated cache lines to hold drop counters. Convert UDP and RAW to use this infrastructure. Tested on UDP (see patch 4/5 for details) Before: nstat -n ; sleep 1 ; nstat | grep Udp Udp6InDatagrams 615091 0.0 Udp6InErrors 3904277 0.0 Udp6RcvbufErrors 3904277 0.0 After: nstat -n ; sleep 1 ; nstat | grep Udp Udp6InDatagrams 816281 0.0 Udp6InErrors 7497093 0.0 Udp6RcvbufErrors 7497093 0.0 ==================== Link: https://patch.msgid.link/20250826125031.1578842-1-edumazet@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions