From: Peter Zijlstra Date: Fri, 21 May 2010 10:31:09 +0000 (+0200) Subject: perf_events, trace: Fix probe unregister race X-Git-Tag: v2.6.35-rc2~47^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3771f0771154675d4a0ca780be2411f3cc357208;p=pandora-kernel.git perf_events, trace: Fix probe unregister race tracepoint_probe_unregister() does not synchronize against the probe callbacks, so do that explicitly. This properly serializes the callbacks and the free of the data used therein. Also, use this_cpu_ptr() where possible. Acked-by: Frederic Weisbecker Signed-off-by: Peter Zijlstra LKML-Reference: <1274438476.1674.1702.camel@laptop> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed