From: Peter Zijlstra Date: Sat, 23 May 2009 16:28:55 +0000 (+0200) Subject: perf_counter: Fix dynamic irq_period logging X-Git-Tag: v2.6.31-rc1~383^2~244 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e220d2dcb944c5c488b6855d15ec66d76900514f;p=pandora-kernel.git perf_counter: Fix dynamic irq_period logging We call perf_adjust_freq() from perf_counter_task_tick() which is is called under the rq->lock causing lock recursion. However, it's no longer required to be called under the rq->lock, so remove it from under it. Also, fix up some related comments. Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Arnaldo Carvalho de Melo Cc: John Kacur LKML-Reference: <20090523163012.476197912@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed