[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200205141155.ssmlyt72xu7sieuh@linutronix.de>
Date: Wed, 5 Feb 2020 15:11:55 +0100
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: maddy <maddy@...ux.ibm.com>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
Mark Rutland <mark.rutland@....com>,
Peter Zijlstra <peterz@...radead.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Ingo Molnar <mingo@...hat.com>,
Paul Mackerras <paulus@...ba.org>,
Namhyung Kim <namhyung@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Jiri Olsa <jolsa@...hat.com>
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
Powered by blists - more mailing lists