sched/cputime: Fix steal time accounting vs. CPU hotplug
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / kernel / sched / core.c
index f234c84d36c8260afd800a8b42600849a49c5bf6..655d6110a6e157816b370adccb46d0df64db105d 100644 (file)
@@ -5217,6 +5217,7 @@ migration_call(struct notifier_block *nfb, unsigned long action, void *hcpu)
 
        case CPU_UP_PREPARE:
                rq->calc_load_update = calc_load_update;
+               account_reset_rq(rq);
                break;
 
        case CPU_ONLINE: