Re: [PATCH 6/6] sched/topology: Remove SMT/asym capacity warning
From: K Prateek Nayak
Date: Tue Apr 28 2026 - 01:37:07 EST
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