]> git.baikalelectronics.ru Git - kernel.git/commitdiff
s390/spinlock: remove confusing comment in arch_spin_lock_wait
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 3 Dec 2019 16:52:03 +0000 (17:52 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 11 Dec 2019 18:53:23 +0000 (19:53 +0100)
arch_spin_lock_wait does not take steal time into consideration.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/lib/spinlock.c

index ce1e4bbe53aaf2d447f4aa82a4ba1c55ffdc13e6..9b2dab5a69f995055c9067f37a5688d65f1b4642 100644 (file)
@@ -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