diff options
author | Eric Dumazet <edumazet@google.com> | 2022-06-18 07:04:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-18 12:54:29 +0300 |
commit | dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65 (patch) | |
tree | b43ade4b580e3ccdd0e1b32757bdcf0731c6159c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f0623340fd2cab724e3c54ac026d1414325f375d (diff) | |
download | linux-dbca1596bbb08318f5e3b3b99f8ca0a0d3830a65.tar.xz |
ping: convert to RCU lookups, get rid of rwlock
Using rwlock in networking code is extremely risky.
writers can starve if enough readers are constantly
grabing the rwlock.
I thought rwlock were at fault and sent this patch:
https://lkml.org/lkml/2022/6/17/272
But Peter and Linus essentially told me rwlock had to be unfair.
We need to get rid of rwlock in networking code.
Fixes: c319b4d76b9e ("net: ipv4: add IPPROTO_ICMP socket kind")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions