diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 645034f655dd..21b4f96d80a1 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -9214,6 +9214,7 @@ int sched_cpu_deactivate(unsigned int cpu) ret = cpuset_cpu_inactive(cpu); if (ret) { + sched_smt_present_inc(cpu); balance_push_set(cpu, false); set_cpu_active(cpu, true); return ret;