From: Peter Zijlstra Date: Tue, 18 May 2010 08:33:24 +0000 (+0200) Subject: perf: Disallow mmap() on per-task inherited events X-Git-Tag: v2.6.35-rc1~30^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7920614cebbf269a7c8397ff959a8dcf727465c;p=pandora-kernel.git perf: Disallow mmap() on per-task inherited events 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 Cc: Mike Galbraith Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed