Re: [PATCH 3/3] exec: Transform exec_update_mutex into a rw_semaphore

From: Peter Zijlstra
Date: Mon Dec 07 2020 - 04:10:53 EST


On Fri, Dec 04, 2020 at 12:48:18PM -0800, Linus Torvalds wrote:
> On Fri, Dec 4, 2020 at 12:30 PM Bernd Edlinger
> <bernd.edlinger@xxxxxxxxxx> wrote:
> >>
> > > perf_event_open (exec_update_mutex -> ovl_i_mutex)
>
> Side note: this one looks like it should be easy to fix.

> PeterZ, is there something I'm missing?

Like this?

https://lkml.kernel.org/r/20200828123720.GZ1362448@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx