Files
kernel_xiaomi_raphael/kernel/locking
Sultan Alsawaf dd20c61299 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>
2021-04-12 08:32:11 +00:00
..