From: Ingo Molnar Date: Wed, 3 Jun 2009 20:19:36 +0000 (+0200) Subject: perf_counter: Fix throttling lock-up X-Git-Tag: v2.6.31-rc1~383^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=128f048f0f0d2a477ad2555e7acd2ad15a1b6061;p=pandora-kernel.git perf_counter: Fix throttling lock-up Throttling logic is broken and we can lock up with too small hw sampling intervals. Make the throttling code more robust: disable counters even if we already disabled them. ( Also clean up whitespace damage i noticed while reading various pieces of code related to throttling. ) Cc: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Corey Ashford Cc: Marcelo Tosatti Cc: Arnaldo Carvalho de Melo Cc: Thomas Gleixner LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed