perf: Optimize the !vmalloc backed buffer
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 20 May 2010 17:07:56 +0000 (19:07 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 21 May 2010 09:37:59 +0000 (11:37 +0200)
commit3cafa9fbb5c1d564b7b8e7224f493effbf04ffee
treec046895789900e8a031b241e79e7f0d45d7e39f0
parent5d967a8be636a4f301a8daad642bd1007299d9ec
perf: Optimize the !vmalloc backed buffer

Reduce code and data by using the knowledge that for
!PERF_USE_VMALLOC data_order is always 0.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20100521090710.795019386@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_event.h
kernel/perf_event.c