perf: Remove fragile swevent hlist optimization
authorPeter Zijlstra <peterz@infradead.org>
Fri, 13 Sep 2013 11:14:47 +0000 (13:14 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 Nov 2013 15:57:42 +0000 (16:57 +0100)
commit06db0b21712f878b808480ef31097637013bbf0f
tree572c8d97ef964d3e0023626e246fc6ee775b4aa2
parentd5b5f391d434c5cc8bcb1ab2d759738797b85f52
perf: Remove fragile swevent hlist optimization

Currently we only allocate a single cpu hashtable for per-cpu
swevents; do away with this optimization for it is fragile in the face
of things like perf_pmu_migrate_context().

The easiest thing is to make sure all CPUs are consistent wrt state.

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20130913111447.GN31370@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/events/core.c