Sultan Alsawaf 4b03b283a3
locking/rwsem: Don't hog RCU read lock while optimistically spinning
There's no reason to hold an RCU read lock the entire time while
optimistically spinning for a rwsem. This can needlessly lengthen RCU
grace periods and slow down synchronize_rcu() when it doesn't brute
force the RCU grace period via rcupdate.rcu_expedited=1.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Signed-off-by: azrim <mirzaspc@gmail.com>
2022-04-06 13:17:33 +07:00
..
2021-03-03 18:58:56 +01:00
2020-09-24 12:45:16 +02:00
2019-12-01 09:14:03 +01:00
2020-01-13 19:40:11 +00:00
2019-08-19 12:42:20 -07:00
2020-04-02 16:34:20 +02:00
2019-08-12 13:29:46 -04:00
2021-02-07 14:47:41 +01:00