perf: Sanitize the RCU logic
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 13 Sep 2010 09:06:55 +0000 (11:06 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Sep 2010 15:08:42 +0000 (17:08 +0200)
commitcde8e88498c8de69271fcb6d4dd974979368fa67
tree34eb745cc6f3e5a5dbe0918f4920424be70bcfff
parentb0b2072df3b544f56b90173c2cde7a374c51546b
perf: Sanitize the RCU logic

Simplify things and simply synchronize against two RCU variants for
PMU unregister -- we don't care about performance, its module unload
if anything.

Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c