From: Darren Hart Date: Wed, 5 Aug 2009 19:05:21 +0000 (-0700) Subject: rtmutex: Avoid deadlock in rt_mutex_start_proxy_lock() X-Git-Tag: v2.6.31-rc6~34^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bbf20835c4e088667a090ce6523a0f70b62dc76;p=pandora-kernel.git rtmutex: Avoid deadlock in rt_mutex_start_proxy_lock() In the event of a lock steal or owner died, rt_mutex_start_proxy_lock() will give the rt_mutex to the waiting task, but it fails to release the wait_lock. This leads to subsequent deadlocks when other tasks try to acquire the rt_mutex. I also removed a few extra blank lines that really spaced this routine out. I must have been high on the \n when I wrote this originally... Signed-off-by: Darren Hart Cc: Peter Zijlstra Cc: Steven Rostedt Cc: Dinakar Guniguntala Cc: John Stultz LKML-Reference: <4A79D7F1.4000405@us.ibm.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed