[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160119074534.GA18237@gmail.com>
Date: Tue, 19 Jan 2016 08:45:34 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...hat.com>, linux-kernel@...r.kernel.org,
vince@...ter.net, eranian@...gle.com,
Arnaldo Carvalho de Melo <acme@...radead.org>,
Jiri Olsa <jolsa@...nel.org>
Subject: Re: [PATCH] perf: Synchronously cleanup child events
* Alexander Shishkin <alexander.shishkin@...ux.intel.com> wrote:
> The orphan cleanup workqueue doesn't always catch orphans, for example, if they
> never schedule after they are orphaned. IOW, the event leak is still very real.
> It also wouldn't work for kernel counters.
>
> Also, there seems to be no reason not to carry out this cleanup procedure
> synchronously during parent event's destruction.
Absolutely, synchronous cleanup will probably also be quicker at triggering any
remaining (and new ;-) races.
Thanks,
Ingo
Powered by blists - more mailing lists