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

Commit cd2d7176 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "sched: update_rq_clock() must skip ONE update""

parents aa44032d 21357f54
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -166,12 +166,7 @@ void update_rq_clock(struct rq *rq)
{
	s64 delta;

	/*
	 * Set during wakeup to indicate we are on the way to schedule().
	 * Decrement to ensure that a very large latency is not accounted
	 * to the wrong task.
	 */
	if (rq->skip_clock_update-- > 0)
	if (rq->skip_clock_update > 0)
		return;

	delta = sched_clock_cpu(cpu_of(rq)) - rq->clock;