From: Peter Zijlstra Date: Tue, 18 May 2010 08:50:41 +0000 (+0200) Subject: perf: Optimize the perf_output() path by removing IRQ-disables X-Git-Tag: v2.6.35-rc1~30^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef60777c9abd999db5eb4e338aae3eb593ae8e10;p=pandora-kernel.git perf: Optimize the perf_output() path by removing IRQ-disables Since we can now assume there is only a single writer to each buffer, we can remove per-cpu lock thingy and use a simply nest-count to the same effect. This removes the need to disable IRQs. 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