Messages in this thread |  | | Date | Wed, 5 Feb 2020 15:11:55 +0100 | From | Sebastian Andrzej Siewior <> | Subject | Re: [RFC] per-CPU usage in perf core-book3s |
| |
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
|  |