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

Commit 21357f54 authored by Srivatsa Vaddagiri's avatar Srivatsa Vaddagiri
Browse files

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



This reverts commit ab2ff007
as it was found to cause some performance regressions

Change-Id: Idd71fb04c77f5c9b0bc6bccc66b94ab5a7368471
Signed-off-by: default avatarSrivatsa Vaddagiri <vatsa@codeaurora.org>
parent e22a9bf6
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;