[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240930090439.3IgzQVzB@linutronix.de>
Date: Mon, 30 Sep 2024 11:04:39 +0200
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: Frederic Weisbecker <frederic@...nel.org>
Cc: Dan Carpenter <dan.carpenter@...aro.org>,
Peter Zijlstra <peterz@...radead.org>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [bug report] perf: Fix event leak upon exec and file release
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
Powered by blists - more mailing lists