Loading kernel/sched/core.c +1 −6 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
kernel/sched/core.c +1 −6 Original line number Diff line number Diff line Loading @@ -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; Loading