Re: [PATCH 6/6] sched/topology: Remove SMT/asym capacity warning

K Prateek Nayak
2026-04-28T05:30:18Z

Hello Andrea,

On 4/28/2026 10:46 AM, Andrea Righi wrote:
> @@ -1732,10 +1732,6 @@ sd_init(struct sched_domain_topology_level *tl,
> .name = tl->name,
> };
>
> - WARN_ONCE((sd->flags & (SD_SHARE_CPUCAPACITY | SD_ASYM_CPUCAPACITY)) ==
> - (SD_SHARE_CPUCAPACITY | SD_ASYM_CPUCAPACITY),
> - "CPU capacity asymmetry not supported on SMT\n");
> -

Wait! Doesn't this mean we have ASYM_CAPACITY between the SMT siblings?
That seems wrong since we expect the siblings of cores to have the same
capacity.

Have you tripped this warning during your testing?

> /*
> * Convert topological properties into behaviour.
> */

--
Thanks and Regards,
Prateek