Re: [bug report] perf: Fix event leak upon exec and file release
From: Sebastian Andrzej Siewior
Date: Mon Sep 30 2024 - 05:05:02 EST
On 2024-09-02 23:47:08 [+0200], Frederic Weisbecker wrote:
> Ah right.
>
> So one possible fix is to possibly let the task work do the last reference
> decrement. This would mean that freeing children events can't be always assumed
> by the parent.
>
> The below (only built tested) would do it?
This looks nice based on diffstat. I didn't look closed nor did any
testing so far. Do we like it and wait for Dan here or?
Sebastian