diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-04 13:07:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-04-08 10:59:56 +0100 |
commit | 802e12ff9cbff3bafb0b6f0fe79cff04dce9de16 (patch) | |
tree | 29d19f658e942a58997379d915937b5d6c99400a /tools/testing/selftests/net/lib/py/ynl.py | |
parent | b2c919c108abda11ebf16c4e31cf687a4db95a6f (diff) |
inet: frags: delay fqdir_free_fn()
fqdir_free_fn() is using very expensive rcu_barrier()
When one netns is dismantled, we often call fqdir_exit()
multiple times, typically lauching fqdir_free_fn() twice.
Delaying by one second fqdir_free_fn() helps to reduce
the number of rcu_barrier() calls, and lock contention
on rcu_state.barrier_mutex.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/ynl.py')
0 files changed, 0 insertions, 0 deletions