Re: [PATCH 5/5] arch_topology: Use cpumask_intersects where applicable
From: Sudeep Holla
Date: Wed Nov 11 2026 - 05:21:11 EST
On Wed, Nov 11, 2026 at 01:29:45PM +0530, Shrikanth Hegde wrote:
> Looping over one cpumask and checking if any bit is set in another
> cpumask is same as evaluating if two cpumasks intersects or not.
>
> So use cpumask_intersects instead. It is probably faster too.
>
Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxxxxx>
--
Regards,
Sudeep