From: Peter Zijlstra Date: Thu, 27 May 2010 10:54:41 +0000 (+0200) Subject: perf_events: Fix races and clean up perf_event and perf_mmap_data interaction X-Git-Tag: v2.6.35-rc2~47^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac9721f3f54b27a16c7e1afb2481e7ee95a70318;p=pandora-kernel.git perf_events: Fix races and clean up perf_event and perf_mmap_data interaction 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 Cc: LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed