From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Frederic Weisbecker <frederic@kernel.org>
Cc: Dan Carpenter <dan.carpenter@linaro.org>,
Peter Zijlstra <peterz@infradead.org>,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [bug report] perf: Fix event leak upon exec and file release
Date: Mon, 30 Sep 2024 11:04:39 +0200 [thread overview]
Message-ID: <20240930090439.3IgzQVzB@linutronix.de> (raw)
In-Reply-To: <ZtYyXG4fYbUdoBpk@pavilion.home>
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
next prev parent reply other threads:[~2024-09-30 9:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-23 13:43 [bug report] perf: Fix event leak upon exec and file release Dan Carpenter
2024-09-02 21:47 ` Frederic Weisbecker
2024-09-30 9:04 ` Sebastian Andrzej Siewior [this message]
2024-10-02 13:51 ` Frederic Weisbecker
2024-10-02 14:57 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240930090439.3IgzQVzB@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=dan.carpenter@linaro.org \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).