2f06f702925b ("locking/rwsem: Prevent potential lock starvation"):
This patch may have some impact on reader performance as it reduces
reader optimistic spinning especially if the lock critical sections
are short the number of contending readers are small.
This patch will lead to 30%+ performance degradation to fio write_iops_blocksize
4KB testcase, and we stress the system with mysql tpcc for 12 hours,
no hungtask occur, So revert this patchset temporarily.
Zheng Zengkai (3):
Revert "locking/rwsem: Prevent potential lock starvation"
Revert "locking/rwsem: Pass the current atomic count to
rwsem_down_read_slowpath()"
Revert "locking/rwsem: Better collate rwsem_read_trylock()"
kernel/locking/rwsem.c | 56 ++++++++++++++----------------------------
1 file changed, 19 insertions(+), 37 deletions(-)
--
2.20.1