Re: [PATCH v2] perf/core: restore __perf_remove_from_context when DETACH_EXIT not set
From: Peter Zijlstra
Date: Tue Jun 03 2025 - 10:08:42 EST
On Tue, Jun 03, 2025 at 02:22:37PM +0100, Yeoreum Yun wrote:
> I think it would break if event->state is "PERF_EVENT_STATE_ERROR".
Indeed.
> TBH, there is the patch to solve this problem:
> https://lore.kernel.org/all/20250602184049.4010919-1-yeoreum.yun@xxxxxxx/
>
> Does it have a problem?
It does mean we can remove that pending_disable thing from DETACH_DEAD I
think.
Also let me edit the Changelog, the actual splat doesn't really have
much useful information.