Revision 78cd2c748f459739ff864dd9308c0f6caf7f6e41 authored by Peter Zijlstra on 25 January 2016, 13:08:45 UTC, committed by Ingo Molnar on 28 January 2016, 19:06:35 UTC
We should set event->owner before we install the event,
otherwise there is a hole where the target task can fork() and
we'll not inherit the event because it thinks the event is
orphaned.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 45c815f
History
File Mode Size
Kconfig -rw-r--r-- 2.3 KB
Makefile -rw-r--r-- 379 bytes
cache.c -rw-r--r-- 10.8 KB
cookie.c -rw-r--r-- 19.1 KB
fsdef.c -rw-r--r-- 4.3 KB
histogram.c -rw-r--r-- 2.8 KB
internal.h -rw-r--r-- 13.0 KB
main.c -rw-r--r-- 4.9 KB
netfs.c -rw-r--r-- 2.5 KB
object-list.c -rw-r--r-- 11.4 KB
object.c -rw-r--r-- 31.0 KB
operation.c -rw-r--r-- 16.3 KB
page.c -rw-r--r-- 31.0 KB
proc.c -rw-r--r-- 1.9 KB
stats.c -rw-r--r-- 10.5 KB

back to top