]> Git Repo - linux.git/commit
rtmutex: Avoid deadlock in rt_mutex_start_proxy_lock()
authorDarren Hart <[email protected]>
Wed, 5 Aug 2009 19:05:21 +0000 (12:05 -0700)
committerIngo Molnar <[email protected]>
Thu, 6 Aug 2009 03:50:21 +0000 (05:50 +0200)
commit1bbf20835c4e088667a090ce6523a0f70b62dc76
tree91fea2bd29abf6be58c55e259d2904de303fcf3e
parent90bc1a658a53f8832ee799685703977a450e5af9
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Dinakar Guniguntala <[email protected]>
Cc: John Stultz <[email protected]>
LKML-Reference: <4A79D7F1.4000405@us.ibm.com>
Signed-off-by: Ingo Molnar <[email protected]>
kernel/rtmutex.c
This page took 0.053525 seconds and 4 git commands to generate.