On 08/14/2017 07:18 PM, Paul Burton wrote:
On 8/13/2017 7:36 AM, Paul Burton wrote:
Currently in gic_set_affinity() we calculate a temporary cpumask holding
the intersection of the provided cpumask & the CPUs that are online,
then we call cpumask_first twice on it to find the first such CPU. Since
we don't need to temporary cpumask for anything else & we only care
s/to/the/?
Indeed - nice to know someone is reading a 38 patch series :)
I can't say I've read all of them, only the smaller ones... :-)
I'll fix up but leave submitting a v2 until someone asks me to.
It's OK.
Thanks,
Paul
about the first CPU that's both online & in the provided cpumask, we can
instead use cpumask_first_and to find that CPU & drop the temporary
mask.
Signed-off-by: Paul Burton <paul.burton@xxxxxxxxxx>
Cc: Jason Cooper <jason@xxxxxxxxxxxxxx>
Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxx
[...]
MBR, Sergei