summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorYanfei Xu <yanfei.xu@windriver.com>2021-10-13 21:41:54 +0800
committerPeter Zijlstra <peterz@infradead.org>2021-10-19 17:27:06 +0200
commit5197fcd09ab6dcc4df79edec7e8e27575276374c (patch)
tree3514a3676d98a5611b17b84555dc6556c9d61fe8 /arch/ia64
parent6c2787f2a20ceb49c98bd06f7dad1589eed1c951 (diff)
downloadlinux-5197fcd09ab6dcc4df79edec7e8e27575276374c.tar.bz2
locking/rwsem: Fix comments about reader optimistic lock stealing conditions
After the commit 617f3ef95177 ("locking/rwsem: Remove reader optimistic spinning"), reader doesn't support optimistic spinning anymore, there is no need meet the condition which OSQ is empty. BTW, add an unlikely() for the max reader wakeup check in the loop. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Waiman Long <longman@redhat.com> Link: https://lore.kernel.org/r/20211013134154.1085649-4-yanfei.xu@windriver.com
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions