perf: Optimize buffer placement by allocating buffers NUMA aware
authorPeter Zijlstra <peterz@infradead.org>
Mon, 17 May 2010 16:48:00 +0000 (18:48 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 May 2010 16:35:47 +0000 (18:35 +0200)
commita19d35c11fd559dd7dfd5a2078df7c9af74a5d88
tree54cc4f3f5813eb7afd81d089d581a098df896f11
parent00d1d0b095ba4e5c0958cb228b2a9c445d4a339d
perf: Optimize buffer placement by allocating buffers NUMA aware

Ensure cpu bound buffers live on the right NUMA node.

Suggested-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1274114880.5605.5236.camel@twins>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c