Prevent potential lock starvation by read lock.
Peter Zijlstra (1): locking/rwsem: Better collate rwsem_read_trylock()
Waiman Long (2): locking/rwsem: Pass the current atomic count to rwsem_down_read_slowpath() locking/rwsem: Prevent potential lock starvation
kernel/locking/rwsem.c | 56 ++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 19 deletions(-)