diff options
author | Valentin Schneider <[email protected]> | 2020-08-17 12:30:00 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-08-19 10:49:49 +0200 |
commit | 33199b0143daf4778d6301f966cb914d75f122eb (patch) | |
tree | f68e73028c0aeadbb71c18e92ff851c8cdb94179 | |
parent | bdb7c802cc0a7e21f5223dc3ce41b7ac220c576e (diff) |
sched/topology: Mark SD_ASYM_PACKING as SDF_NEEDS_GROUPS
Being a load-balancing flag, it 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 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/sched/sd_flags.h b/include/linux/sched/sd_flags.h index b7f4d80e338e..2998ece2c18d 100644 --- a/include/linux/sched/sd_flags.h +++ b/include/linux/sched/sd_flags.h @@ -123,10 +123,11 @@ SD_FLAG(SD_SERIALIZE, SDF_SHARED_PARENT | SDF_NEEDS_GROUPS) * Place busy tasks earlier in the domain * * SHARED_CHILD: Usually set on the SMT level. Technically could be set further - * up, but currently assumed to be set from the base domain upwards (see - * update_top_cache_domain()). + * up, but currently assumed to be set from the base domain + * upwards (see update_top_cache_domain()). + * NEEDS_GROUPS: Load balancing flag. */ -SD_FLAG(SD_ASYM_PACKING, SDF_SHARED_CHILD) +SD_FLAG(SD_ASYM_PACKING, SDF_SHARED_CHILD | SDF_NEEDS_GROUPS) /* * Prefer to place tasks in a sibling domain |