diff options
author | David S. Miller <davem@davemloft.net> | 2022-06-19 10:00:02 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-19 10:00:02 +0100 |
commit | 5d1d527cd905752c6486421eeb27592849da17ab (patch) | |
tree | c74d50c59f37ae3e636d6976734762811e118c27 /include/linux/mii.h | |
parent | 8670dc33f48bab4d7bb4b8d0232f17f4dae419ec (diff) | |
parent | 0daf07e527095e64ee8927ce297ab626643e9f51 (diff) |
Merge branch 'raw-RCU-conversion'
Eric Dumazet says:
====================
raw: RCU conversion
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 stacks.
Without this conversion, following script triggers soft lockups:
for i in {1..48}
do
ping -f -n -q 127.0.0.1 &
sleep 0.1
done
Next step will be to convert ping sockets to RCU as well.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mii.h')
0 files changed, 0 insertions, 0 deletions