diff options
| author | Darren Hart <[email protected]> | 2009-08-05 19:05:21 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-08-06 03:50:21 +0000 |
| commit | 1bbf20835c4e088667a090ce6523a0f70b62dc76 (patch) | |
| tree | 91fea2bd29abf6be58c55e259d2904de303fcf3e /lib/flex_array.c | |
| parent | Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus (diff) | |
| download | kernel-1bbf20835c4e088667a090ce6523a0f70b62dc76.tar.gz kernel-1bbf20835c4e088667a090ce6523a0f70b62dc76.zip | |
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: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
