aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-01-22 11:25:58 +0000
committerPaolo Abeni <[email protected]>2024-01-23 15:13:54 +0100
commit223f55196bbdb182a9b8de6108a0834b5e5e832e (patch)
tree2d0871db63d5248827224188cc22c69a90dda2bf /tools/perf/scripts/python
parentdb5914695a84a7b128ec2e4e9272e6e8091753e1 (diff)
inet_diag: allow concurrent operations
inet_diag_lock_handler() current implementation uses a mutex to protect inet_diag_table[] array against concurrent changes. This makes inet_diag dump serialized, thus less scalable than legacy /proc files. It is time to switch to full RCU protection. As a bonus, if a target is statically linked instead of being modular, inet_diag_lock_handler() & inet_diag_unlock_handler() reduce to reads only. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Guillaume Nault <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions