diff options
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 152828239ef0..74498c840f93 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -6768,6 +6768,8 @@ sd_parent_degenerate(struct sched_domain *sd, struct sched_domain *parent) | |||
6768 | SD_BALANCE_EXEC | | 6768 | SD_BALANCE_EXEC | |
6769 | SD_SHARE_CPUPOWER | | 6769 | SD_SHARE_CPUPOWER | |
6770 | SD_SHARE_PKG_RESOURCES); | 6770 | SD_SHARE_PKG_RESOURCES); |
6771 | if (nr_node_ids == 1) | ||
6772 | pflags &= ~SD_SERIALIZE; | ||
6771 | } | 6773 | } |
6772 | if (~cflags & pflags) | 6774 | if (~cflags & pflags) |
6773 | return 0; | 6775 | return 0; |