diff --git a/kernel/sched/core.c b/kernel/sched/core.c index b9c0c0e31b0a..838857575937 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -9513,6 +9513,7 @@ int sched_cpu_deactivate(unsigned int cpu) sched_update_numa(cpu, false); ret = cpuset_cpu_inactive(cpu); if (ret) { + sched_smt_present_inc(cpu); balance_push_set(cpu, false); set_cpu_active(cpu, true); sched_update_numa(cpu, true);