Messages in this thread | | | Date | Tue, 19 Jan 2016 08:45:34 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] perf: Synchronously cleanup child events |
| |
* Alexander Shishkin <alexander.shishkin@linux.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
| |