[RFC] per-CPU usage in perf core-book3s
Sebastian Andrzej Siewior
bigeasy at linutronix.de
Thu Feb 6 01:11:55 AEDT 2020
On 2020-02-05 07:10:59 [+0530], maddy wrote:
> Yes, currently we dont have anything that prevents the timer
> callback to interrupt pmu::event_init. Nice catch. Thanks for
> pointing this out.
You are welcome.
> Looking at the code, per-cpu variable access are made to
> check for constraints and for Branch Stack (BHRB). So could
> wrap this block of pmu::event_init with local_irq_save/restore.
> Will send a patch to fix it.
Okay. Please keep me in the loop :)
>
> Maddy
Sebastian
More information about the Linuxppc-dev
mailing list