Re: [PATCH v2 1/6] sched/fair: add SD_CLUSTER in comments
From: Ricardo Neri
Date: Wed Jan 31 2024 - 16:59:05 EST
On Tue, Jan 30, 2024 at 09:17:03PM +0800, alexs@xxxxxxxxxx wrote:
> From: Alex Shi <alexs@xxxxxxxxxx>
>
> The SD_CLUSTER omitted in following TOPOLOGY_SD_FLAGS explaination, add
> it to fill the absent.
Perhaps saying: "The description of SD_CLUSTER is missing. Add it." is
sufficient.
>
> Signed-off-by: Alex Shi <alexs@xxxxxxxxxx>
> To: linux-kernel@xxxxxxxxxxxxxxx
> To: Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>
> To: Ben Segall <bsegall@xxxxxxxxxx>
> To: Steven Rostedt <rostedt@xxxxxxxxxxx>
> To: Dietmar Eggemann <dietmar.eggemann@xxxxxxx>
> To: Ricardo Neri <ricardo.neri-calderon@xxxxxxxxxxxxxxx>
> To: Valentin Schneider <vschneid@xxxxxxxxxx>
> To: Vincent Guittot <vincent.guittot@xxxxxxxxxx>
> To: Juri Lelli <juri.lelli@xxxxxxxxxx>
> To: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> To: Ingo Molnar <mingo@xxxxxxxxxx>
> ---
> kernel/sched/topology.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/sched/topology.c b/kernel/sched/topology.c
> index 10d1391e7416..c342c52b1f34 100644
> --- a/kernel/sched/topology.c
> +++ b/kernel/sched/topology.c
> @@ -1554,6 +1554,7 @@ static struct cpumask ***sched_domains_numa_masks;
> * function:
> *
> * SD_SHARE_CPUCAPACITY - describes SMT topologies
> + * SD_CLUSTER - describes Cluster topologies
This description does not really add much. Perhaps syaing "describes
CPU cluster topologies". Then users can go to the definiton of
SD_CLUSTER.