perf: Disallow mmap() on per-task inherited events
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 18 May 2010 08:33:24 +0000 (10:33 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 18 May 2010 16:35:48 +0000 (18:35 +0200)
Since we now have working per-task-per-cpu events for
a while, disallow mmap() on per-task inherited
events. Those things were a performance problem
anyway, and doing away with it allows us to optimize
the buffer somewhat by assuming there is only a
single writer.

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: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found