perf_events: Fix races and clean up perf_event and perf_mmap_data interaction
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Thu, 27 May 2010 10:54:41 +0000 (12:54 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 31 May 2010 06:46:08 +0000 (08:46 +0200)
In order to move toward separate buffer objects, rework the whole
perf_mmap_data construct to be a more self-sufficient entity, one
with its own lifetime rules.

This greatly sanitizes the whole output redirection code, which
was riddled with bugs and races.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: <stable@kernel.org>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found