Skip to content

Commit d654c8d

Browse files
Alex ShiIngo Molnar
authored andcommitted
sched/topology: Remove duplicate descriptions from TOPOLOGY_SD_FLAGS
These flags are already documented in include/linux/sched/sd_flags.h. Also, add missing SD_CLUSTER and keep the comment on SD_ASYM_PACKING as it is a special case. Suggested-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Alex Shi <alexs@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Reviewed-by: Valentin Schneider <vschneid@redhat.com> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Link: https://lore.kernel.org/r/20240210113924.1130448-1-alexs@kernel.org
1 parent 7e9f7d1 commit d654c8d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

kernel/sched/topology.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1551,11 +1551,12 @@ static struct cpumask ***sched_domains_numa_masks;
15511551
*
15521552
* These flags are purely descriptive of the topology and do not prescribe
15531553
* behaviour. Behaviour is artificial and mapped in the below sd_init()
1554-
* function:
1554+
* function. For details, see include/linux/sched/sd_flags.h.
15551555
*
1556-
* SD_SHARE_CPUCAPACITY - describes SMT topologies
1557-
* SD_SHARE_PKG_RESOURCES - describes shared caches
1558-
* SD_NUMA - describes NUMA topologies
1556+
* SD_SHARE_CPUCAPACITY
1557+
* SD_SHARE_PKG_RESOURCES
1558+
* SD_CLUSTER
1559+
* SD_NUMA
15591560
*
15601561
* Odd one out, which beside describing the topology has a quirk also
15611562
* prescribes the desired behaviour that goes along with it:

0 commit comments

Comments
 (0)