Re: [PATCH 00/19] perf: Make perf_pmu_unregister() usable
From: Peter Zijlstra
Date: Mon Mar 03 2025 - 04:17:09 EST
On Mon, Mar 03, 2025 at 08:55:06AM +0530, Ravi Bangoria wrote:
> Hi Ingo,
>
> >> Lucas convinced me that perf_pmu_unregister() is a trainwreck; after
> >> considering a few options I was like, how hard could it be..
> >>
> >> So find here a few patches that clean things up in preparation and then a final
> >> patch that makes unregistering a PMU work by introducing a new event state
> >> (REVOKED) and ensuring that any event in such a state will never get to using
> >> it's PMU methods ever again.
> >
> > So it looks like this series first got lost in the usual end-of-year
> > fog of holidays, then it has become somewhat bitrotten due to other
> > perf changes interacting and creating conflicts. I cannot find these
> > patches in queue.git anymore, other than the somewhat stale 4+ months
> > old perf/pmu-unregister branch from October 2024.
>
> Peter posted V2:
> https://lore.kernel.org/r/20250205102120.531585416@xxxxxxxxxxxxx
>
> Same was pushed in Peter's queue repo (2025-02-03):
> https://web.git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/log/?h=perf/pmu-unregister
Right, I need to get back to this.. I have a bunch of changes from v2
already accumulated, but haven't gotten around to looking at Ravi's
latest feedback :/