mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04: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
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue