summaryrefslogtreecommitdiff
path: root/net/tipc
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-01-22 14:25:58 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-01-23 17:13:54 +0300
commit223f55196bbdb182a9b8de6108a0834b5e5e832e (patch)
tree2d0871db63d5248827224188cc22c69a90dda2bf /net/tipc
parentdb5914695a84a7b128ec2e4e9272e6e8091753e1 (diff)
downloadlinux-223f55196bbdb182a9b8de6108a0834b5e5e832e.tar.xz
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 <edumazet@google.com> Reviewed-by: Guillaume Nault <gnault@redhat.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions