perf: Avoid the percore allocations if the CPU is not HT capable
authorLin Ming <ming.m.lin@intel.com>
Thu, 3 Mar 2011 02:34:50 +0000 (10:34 +0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 5 Mar 2011 06:12:16 +0000 (07:12 +0100)
commit6909262429b70a162e9e7053672cfd8024c9275d
treeee701491a7cd2a1fb685f18b379a6cd4d450b395
parente994d7d23a0bae34cd28834e85522ed4e782faf7
perf: Avoid the percore allocations if the CPU is not HT capable

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1299119690-13991-5-git-send-email-ming.m.lin@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/smp.h
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event_intel.c