perf, x86: Use NUMA aware allocations for PEBS/BTS/DS allocations
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 19 Oct 2010 12:55:33 +0000 (14:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 22 Oct 2010 12:18:26 +0000 (14:18 +0200)
commit96681fc3c9e7d1f89ab64e5eec40b6467c97680f
tree2c161656d3f1641c4c2156652440960e3f866cf2
parentf80c9e304b8e8062230b0cda2c2fdd586149c771
perf, x86: Use NUMA aware allocations for PEBS/BTS/DS allocations

For performance reasons its best to use memory node local memory for
per-cpu buffers.

This logic comes from a much larger patch proposed by Stephane.

Suggested-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Stephane Eranian <eranian@google.com>
LKML-Reference: <20101019134808.514465326@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_intel_ds.c