Merge "Revert "sched/cputime: Fix steal time accounting vs. CPU hotplug""
This commit is contained in:
commit
cb0a801141
2 changed files with 0 additions and 14 deletions
|
@ -6066,7 +6066,6 @@ migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu)
|
||||||
set_window_start(rq);
|
set_window_start(rq);
|
||||||
raw_spin_unlock_irqrestore(&rq->lock, flags);
|
raw_spin_unlock_irqrestore(&rq->lock, flags);
|
||||||
rq->calc_load_update = calc_load_update;
|
rq->calc_load_update = calc_load_update;
|
||||||
account_reset_rq(rq);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CPU_ONLINE:
|
case CPU_ONLINE:
|
||||||
|
|
|
@ -2534,16 +2534,3 @@ static inline u64 irq_time_read(int cpu)
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_64BIT */
|
#endif /* CONFIG_64BIT */
|
||||||
#endif /* CONFIG_IRQ_TIME_ACCOUNTING */
|
#endif /* CONFIG_IRQ_TIME_ACCOUNTING */
|
||||||
|
|
||||||
static inline void account_reset_rq(struct rq *rq)
|
|
||||||
{
|
|
||||||
#ifdef CONFIG_IRQ_TIME_ACCOUNTING
|
|
||||||
rq->prev_irq_time = 0;
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_PARAVIRT
|
|
||||||
rq->prev_steal_time = 0;
|
|
||||||
#endif
|
|
||||||
#ifdef CONFIG_PARAVIRT_TIME_ACCOUNTING
|
|
||||||
rq->prev_steal_time_rq = 0;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue