From: Peter Zijlstra Date: Sat, 6 Mar 2010 18:49:19 +0000 (+0100) Subject: perf: Optimize perf_disable X-Git-Tag: v2.6.34-rc2~19^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32975a4f114be52286f9a5bf6c230dbb8c0e1903;p=pandora-kernel.git perf: Optimize perf_disable Currently we always call hw_perf_disable(), even if its already disabled, this seems superflous, esp. since it cannot be made NMI safe (see further patches). Signed-off-by: Peter Zijlstra Cc: paulus@samba.org Cc: eranian@google.com Cc: robert.richter@amd.com Cc: fweisbec@gmail.com Cc: Arnaldo Carvalho de Melo LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed