Re: [PATCH] ARM: perf: ensure the cpu is available to scheduler when set irq affinity

From: Li RongQing
Date: Tue Oct 27 2015 - 23:23:01 EST


On Wed, Oct 28, 2015 at 12:47 AM, Will Deacon <will.deacon@xxxxxxx> wrote:
>> + continue;
>> +
>
> Isn't this all racy against concurrent hotplug events? We're probably
> better off requesting the IRQs at PMU probe time, since we no longer have
> to worry about sharing the IRQ lines with other subsystems such as oprofile,
> which is why it was designed this way originally.


Could you write a patch?
Thanks

-Roy
--
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/