diff options
author | Valentin Schneider <[email protected]> | 2020-08-17 12:29:58 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-08-19 10:49:49 +0200 |
commit | 94b858fea1f2246a2fb7f7af21840fd14ced028f (patch) | |
tree | 55abe91c1c2c78d9748cc7bf26fd1b9d25a06c78 | |
parent | 3a6712c7685352a5d71eaf459a4fddfc3589f018 (diff) |
sched/topology: Mark SD_BALANCE_WAKE as SDF_NEEDS_GROUPS
Even if no mainline topology uses this flag, it is a load balancing flag
just like SD_BALANCE_FORK and requires 2+ groups to have any effect.
Signed-off-by: Valentin Schneider <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | include/linux/sched/sd_flags.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sched/sd_flags.h b/include/linux/sched/sd_flags.h index d28fe67c3098..729510a291b2 100644 --- a/include/linux/sched/sd_flags.h +++ b/include/linux/sched/sd_flags.h @@ -70,8 +70,9 @@ SD_FLAG(SD_BALANCE_FORK, SDF_SHARED_CHILD | SDF_NEEDS_GROUPS) * Balance on wakeup * * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level. + * NEEDS_GROUPS: Load balancing flag. */ -SD_FLAG(SD_BALANCE_WAKE, SDF_SHARED_CHILD) +SD_FLAG(SD_BALANCE_WAKE, SDF_SHARED_CHILD | SDF_NEEDS_GROUPS) /* * Consider waking task on waking CPU. |