diff --git a/kernel/sched.c b/kernel/sched.c index 152828239ef01fb6d16adf43ee7718bf41574bdc..74498c840f933e7a1c63dd7ffb8e8db270e2bc34 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -6768,6 +6768,8 @@ sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent) SD_BALANCE_EXEC | SD_SHARE_CPUPOWER | SD_SHARE_PKG_RESOURCES); + if (nr_node_ids == 1) + pflags &= ~SD_SERIALIZE; } if (~cflags & pflags) return 0;