mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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 <valentin.schneider@arm.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: https://lore.kernel.org/r/20200817113003.20802-15-valentin.schneider@arm.com
This commit is contained in:
parent
bdb7c802cc
commit
33199b0143
1 changed files with 4 additions and 3 deletions
|
@ -123,10 +123,11 @@ SD_FLAG(SD_SERIALIZE, SDF_SHARED_PARENT | SDF_NEEDS_GROUPS)
|
||||||
* Place busy tasks earlier in the domain
|
* Place busy tasks earlier in the domain
|
||||||
*
|
*
|
||||||
* SHARED_CHILD: Usually set on the SMT level. Technically could be set further
|
* 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
|
* up, but currently assumed to be set from the base domain
|
||||||
* update_top_cache_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
|
* Prefer to place tasks in a sibling domain
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue