lkml.org 
[lkml]   [2016]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2016-01-19 09:01    [W:0.211 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site