On Tue, Jan 09, 2018 at 01:09:57PM -0500, Steven Rostedt wrote: > On Tue, 9 Jan 2018 19:02:07 +0100 > Peter Zijlstra <pet...@infradead.org> wrote: > > > This would globally serialize all perf_ioctl()'s, also that event_mutex > > is for trace_events and really does not belong in perf. > > > > So no, I really rather would not do this. > > > > The alternative I was thinking of was lifting the cpuhp lock out from > > under event_mutex, that would also break the chain, but would probably > > be lots of work for trace bits. > > I think we tried that once, and it became an never ending whack a mole > process. I prefer not to do that either.
Figures.. > How bad is your work around patch that you posted? Not too bad, just tricky..