Skip to content

Commit

Permalink
s390/spinlock: remove confusing comment in arch_spin_lock_wait
Browse files Browse the repository at this point in the history
arch_spin_lock_wait does not take steal time into consideration.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
  • Loading branch information
Vasily Gorbik committed Dec 11, 2019
1 parent e42617b commit b62b6cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/s390/lib/spinlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ static inline void arch_spin_lock_classic(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))
arch_spin_lock_queued(lp);
else
Expand Down

0 comments on commit b62b6cf

Please sign in to comment.