Merge branch 'locking/urgent' into locking/core
authorThomas Gleixner <tglx@linutronix.de>
Sat, 18 Dec 2021 09:57:03 +0000 (10:57 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 18 Dec 2021 09:57:03 +0000 (10:57 +0100)
Pick up the spin loop condition fix.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
1  2 
kernel/locking/rtmutex.c

@@@ -1382,8 -1379,9 +1382,8 @@@ static bool rtmutex_spin_on_owner(struc
                 *    for CONFIG_PREEMPT_RCU=y)
                 *  - the VCPU on which owner runs is preempted
                 */
 -              if (!owner->on_cpu || need_resched() ||
 -                  !rt_mutex_waiter_is_top_waiter(lock, waiter) ||
 -                  vcpu_is_preempted(task_cpu(owner))) {
 +              if (!owner_on_cpu(owner) || need_resched() ||
-                   rt_mutex_waiter_is_top_waiter(lock, waiter)) {
++                  !rt_mutex_waiter_is_top_waiter(lock, waiter)) {
                        res = false;
                        break;
                }