Re: [RFC v2] perf: Rewrite core context handling

From: Peter Zijlstra
Date: Mon Aug 22 2022 - 11:44:47 EST


On Mon, Aug 22, 2022 at 05:29:11PM +0200, Peter Zijlstra wrote:
> On Tue, Aug 02, 2022 at 11:41:42AM +0530, Ravi Bangoria wrote:
> >
> > > pulling up the ctx->mutex makes things simpler, but also violates the
> > > locking order vs exec_update_lock.
> > >
> > > Pull that lock up as well...
> >
> > I'm not able to apply this patch as is but I get the idea. Few
> > questions below...
>
> I was just about to rebase the 'series' to current, let me do that and
> get back to you on the specifics.

https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=perf/wip.rewrite

I need to go make dinner, but I'll try and remember how it all was
support to work later this evening when the loonies are in bed,