Re: [PATCH v2 3/3] x86, x2apic: use multiple cluster members for theirq destination only with the explicit affinity
From: Alexander Gordeev
Date: Fri Jun 22 2012 - 05:00:29 EST
On Thu, Jun 21, 2012 at 03:02:25PM -0700, Suresh Siddha wrote:
> + if (mask == x2apic_cluster_target_cpus())
> + cpumask_copy(retmask, cpumask_of(cpu));
> + else
> + cpumask_and(retmask, mask, per_cpu(cpus_in_cluster, cpu));
> }
Yay, target_cpus() is a way better here.
--
Regards,
Alexander Gordeev
agordeev@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/