Unverified Commit cf2950c7 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4407 sched/topology: Fix cpus hotplug deadlock in check_node_limit()

parents b97e28ba 40770d83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1880,7 +1880,7 @@ static void check_node_limit(void)
	if (sched_steal_node_limit == 0)
		sched_steal_node_limit = SCHED_STEAL_NODE_LIMIT_DEFAULT;
	if (n > sched_steal_node_limit) {
		static_branch_disable(&sched_steal_allow);
		static_branch_disable_cpuslocked(&sched_steal_allow);
		pr_debug("Suppressing sched STEAL. To enable, reboot with sched_steal_node_limit=%d", n);
	}
}