Re: [PATCH -rt] rtmutex: enable deadlock detection in the ww_mutex_lock functions

2015-01-26 Thread Mike Galbraith
You should probably CC -rt maintainers when submitting a -rt patch. On Tue, 2015-01-27 at 03:53 -0200, Gustavo Bittencourt wrote: > According the ww-mutex-design.txt documentation, the > ww_mutex_lock_interruptible and ww_mutex_lock functions should return > -EDEADLK when faced with a

[PATCH -rt] rtmutex: enable deadlock detection in the ww_mutex_lock functions

2015-01-26 Thread Gustavo Bittencourt
According the ww-mutex-design.txt documentation, the ww_mutex_lock_interruptible and ww_mutex_lock functions should return -EDEADLK when faced with a deadlock. To do so, the flag detect_deadlock in the rt_mutex_slowlock calls should be enabled. This patch corrects potential deadlocks when

[PATCH -rt] rtmutex: enable deadlock detection in the ww_mutex_lock functions

2015-01-26 Thread Gustavo Bittencourt
According the ww-mutex-design.txt documentation, the ww_mutex_lock_interruptible and ww_mutex_lock functions should return -EDEADLK when faced with a deadlock. To do so, the flag detect_deadlock in the rt_mutex_slowlock calls should be enabled. This patch corrects potential deadlocks when

Re: [PATCH -rt] rtmutex: enable deadlock detection in the ww_mutex_lock functions

2015-01-26 Thread Mike Galbraith
You should probably CC -rt maintainers when submitting a -rt patch. On Tue, 2015-01-27 at 03:53 -0200, Gustavo Bittencourt wrote: According the ww-mutex-design.txt documentation, the ww_mutex_lock_interruptible and ww_mutex_lock functions should return -EDEADLK when faced with a deadlock.