RE: [PATCH] locking/rwlocks: do not starve writers

From: David Laight
Date: Fri Jun 17 2022 - 17:58:47 EST


From: Eric Dumazet
> Sent: 17 June 2022 20:39
...
> I am converting RAW sockets to RCU.

I presume that is because you are shoving a lot of packets
through them?

Will that remove the horrid delayed free of the routing
table entry that gets created for IPv4 with 'hdrinc'
because the address in the packet might not match that
in the address buffer?

I've seen the softint code spend ages doing the final frees.

We have good reasons for using raw sockets to send a lot of UDP.
But 'hdrinc' has to be used to get the UDP checksum right.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)