Commit d2f1b785 authored by Zheng Zengkai's avatar Zheng Zengkai
Browse files

Revert "locking/rwsem: Prevent potential lock starvation"

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7F5L7


CVE: NA

--------------------------------

2f06f702 ("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.

This reverts commit f66f7f34.

Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 4332a1c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment