FIXUP: sched: Fix double-release of spinlock in move_queued_task
BUG: 29519455 Change-Id: I4d1c27a1b4bcbba03d4b175d170cfe1701a90ffd
This commit is contained in:
parent
740d312ce8
commit
8935b6b4d2
1 changed files with 2 additions and 1 deletions
|
@ -1832,7 +1832,8 @@ static inline int double_lock_balance(struct rq *this_rq, struct rq *busiest)
|
|||
static inline void double_unlock_balance(struct rq *this_rq, struct rq *busiest)
|
||||
__releases(busiest->lock)
|
||||
{
|
||||
raw_spin_unlock(&busiest->lock);
|
||||
if (this_rq != busiest)
|
||||
raw_spin_unlock(&busiest->lock);
|
||||
lock_set_subclass(&this_rq->lock.dep_map, 0, _RET_IP_);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue