mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
Merge branch 'locking/urgent' into locking/core
Pick up the spin loop condition fix. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
commit
f16cc980d6
1 changed files with 1 additions and 1 deletions
|
@ -1383,7 +1383,7 @@ static bool rtmutex_spin_on_owner(struct rt_mutex_base *lock,
|
||||||
* - the VCPU on which owner runs is preempted
|
* - the VCPU on which owner runs is preempted
|
||||||
*/
|
*/
|
||||||
if (!owner_on_cpu(owner) || need_resched() ||
|
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;
|
res = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue