Re: perf: perf_fuzzer quickly locks up on 4.15-rc7

From: Steven Rostedt
Date: Tue Jan 09 2018 - 13:10:05 EST


On Tue, 9 Jan 2018 19:02:07 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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.

How bad is your work around patch that you posted?

-- Steve