Commit b62b6cf1 authored by Vasily Gorbik's avatar Vasily Gorbik

s390/spinlock: remove confusing comment in arch_spin_lock_wait

arch_spin_lock_wait does not take steal time into consideration.
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent e42617b8
...@@ -242,7 +242,6 @@ static inline void arch_spin_lock_classic(arch_spinlock_t *lp) ...@@ -242,7 +242,6 @@ static inline void arch_spin_lock_classic(arch_spinlock_t *lp)
void arch_spin_lock_wait(arch_spinlock_t *lp) void arch_spin_lock_wait(arch_spinlock_t *lp)
{ {
/* Use classic spinlocks + niai if the steal time is >= 10% */
if (test_cpu_flag(CIF_DEDICATED_CPU)) if (test_cpu_flag(CIF_DEDICATED_CPU))
arch_spin_lock_queued(lp); arch_spin_lock_queued(lp);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment