]> Pileus Git - ~andy/linux/commit
perf: Fix the perf context switch optimization
authorPeter Zijlstra <peterz@infradead.org>
Mon, 7 Oct 2013 15:12:48 +0000 (17:12 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 29 Oct 2013 13:13:01 +0000 (14:13 +0100)
commit5a3126d4fe7c311fe12f98fef0470f6cb582d1ef
tree597334d1312749439ddf8438ab85d296ef204990
parente00b12e64be9a34ef071de7b6052ca9ea29dd460
perf: Fix the perf context switch optimization

Currently we only optimize the context switch between two
contexts that have the same parent; this forgoes the
optimization between parent and child context, even though these
contexts could be equivalent too.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Shishkin, Alexander <alexander.shishkin@intel.com>
Link: http://lkml.kernel.org/r/20131007164257.GH3081@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c