|
@@ -823,19 +823,13 @@ static void update_rq_clock_task(struct rq *rq, s64 delta)
|
|
#endif
|
|
#endif
|
|
#ifdef CONFIG_PARAVIRT_TIME_ACCOUNTING
|
|
#ifdef CONFIG_PARAVIRT_TIME_ACCOUNTING
|
|
if (static_key_false((¶virt_steal_rq_enabled))) {
|
|
if (static_key_false((¶virt_steal_rq_enabled))) {
|
|
- u64 st;
|
|
|
|
-
|
|
|
|
steal = paravirt_steal_clock(cpu_of(rq));
|
|
steal = paravirt_steal_clock(cpu_of(rq));
|
|
steal -= rq->prev_steal_time_rq;
|
|
steal -= rq->prev_steal_time_rq;
|
|
|
|
|
|
if (unlikely(steal > delta))
|
|
if (unlikely(steal > delta))
|
|
steal = delta;
|
|
steal = delta;
|
|
|
|
|
|
- st = steal_ticks(steal);
|
|
|
|
- steal = st * TICK_NSEC;
|
|
|
|
-
|
|
|
|
rq->prev_steal_time_rq += steal;
|
|
rq->prev_steal_time_rq += steal;
|
|
-
|
|
|
|
delta -= steal;
|
|
delta -= steal;
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|