Skip to content

Commit

Permalink
Merge branch 'locking/urgent' into locking/core
Browse files Browse the repository at this point in the history
Pick up the spin loop condition fix.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
KAGA-KOKO committed Dec 18, 2021
2 parents 5fb6e8c + 8f556a3 commit f16cc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/locking/rtmutex.c
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,7 @@ static bool rtmutex_spin_on_owner(struct rt_mutex_base *lock,
* - the VCPU on which owner runs is preempted
*/
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;
}
Expand Down

0 comments on commit f16cc98

Please sign in to comment.