From: Peter Zijlstra Date: Mon, 5 Jan 2009 10:28:22 +0000 (+0100) Subject: hrtimer: fix recursion deadlock by re-introducing the softirq X-Git-Tag: v2.6.29-rc1~223^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6037b61c2f5fc99c57c15b26d7cfa58bbb34008;p=pandora-kernel.git hrtimer: fix recursion deadlock by re-introducing the softirq Impact: fix rare runtime deadlock There are a few sites that do: spin_lock_irq(&foo) hrtimer_start(&bar) __run_hrtimer(&bar) func() spin_lock(&foo) which obviously deadlocks. In order to avoid this, never call __run_hrtimer() from hrtimer_start*() context, but instead defer this to softirq context. Signed-off-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed