Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5cc19bc1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "sched: Fix "releasing a pinned lock" lockdep warning"

parents d9b738bc c83a851f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1540,6 +1540,7 @@ static struct rq *move_queued_task(struct rq *rq, struct rq_flags *rf,

	WRITE_ONCE(p->on_rq, TASK_ON_RQ_MIGRATING);
	dequeue_task(rq, p, DEQUEUE_NOCLOCK);
	rq_unpin_lock(rq, rf);
	double_lock_balance(rq, cpu_rq(new_cpu));
	if (!(rq->clock_update_flags & RQCF_UPDATED))
		update_rq_clock(rq);