perf: Ensure that IOC_OUTPUT isn't used to create multi-writer buffers
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 20 May 2010 12:35:15 +0000 (14:35 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 21 May 2010 09:37:57 +0000 (11:37 +0200)
commit0f139300c9057c16b5833a4636b715b104fe0baa
treee7b19c4fc8599fb683cee1b618b28a8aa16208e2
parent1c024eca51fdc965290acf342ae16a476c2189d0
perf: Ensure that IOC_OUTPUT isn't used to create multi-writer buffers

Since we want to ensure buffers only have a single
writer, we must avoid creating one with multiple.

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.528215873@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c