aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/testing_helpers.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-01-23 15:18:42 +0100
committerPaolo Abeni <pabeni@redhat.com>2024-01-23 15:18:43 +0100
commit2121c43f88f593eea51d483bedd638cb0623c7e2 (patch)
tree9fda1455c3639361d11162d535305baba2f05adf /tools/testing/selftests/bpf/testing_helpers.h
parentMerge tag 'net-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/netd... (diff)
parentinet_diag: skip over empty buckets (diff)
downloadlinux-2121c43f88f593eea51d483bedd638cb0623c7e2.tar.gz
linux-2121c43f88f593eea51d483bedd638cb0623c7e2.zip
Merge branch 'inet_diag-remove-three-mutexes-in-diag-dumps'
Eric Dumazet says: ==================== inet_diag: remove three mutexes in diag dumps Surprisingly, inet_diag operations are serialized over a stack of three mutexes, giving legacy /proc based files an unfair advantage on modern hosts. This series removes all of them, making inet_diag operations (eg iproute2/ss) fully parallel. 1-2) Two first patches are adding data-race annotations and can be backported to stable kernels. 3-4) inet_diag_table_mutex can be replaced with RCU protection, if we add corresponding protection against module unload. 5-7) sock_diag_table_mutex can be replaced with RCU protection, if we add corresponding protection against module unload. 8) sock_diag_mutex is removed, as the old bug it was working around has been fixed more elegantly. 9) inet_diag_dump_icsk() can skip over empty buckets to reduce spinlock contention. ==================== Link: https://lore.kernel.org/r/20240122112603.3270097-1-edumazet@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/testing_helpers.h')
0 files changed, 0 insertions, 0 deletions