Re: [patch V4 08/10] rtmutex: Confine deadlock logic to futex

2014-06-13 Thread Steven Rostedt
On Wed, 11 Jun 2014 18:44:08 - Thomas Gleixner wrote: > +/* > + * Futex variant with full deadlock detection. > + */ > +int __rt_mutex_timed_lock(struct rt_mutex *lock, > + struct hrtimer_sleeper *timeout) I hate underscores. Although it's commented, it's still

Re: [patch V4 08/10] rtmutex: Confine deadlock logic to futex

2014-06-13 Thread Steven Rostedt
On Wed, 11 Jun 2014 18:44:08 - Thomas Gleixner t...@linutronix.de wrote: +/* + * Futex variant with full deadlock detection. + */ +int __rt_mutex_timed_lock(struct rt_mutex *lock, + struct hrtimer_sleeper *timeout) I hate underscores. Although it's commented,

[patch V4 08/10] rtmutex: Confine deadlock logic to futex

2014-06-11 Thread Thomas Gleixner
The deadlock logic is only required for futexes. Remove the extra arguments for the public functions and also for the futex specific ones which get always called with deadlock detection enabled. Signed-off-by: Thomas Gleixner --- include/linux/rtmutex.h |6 +--- kernel/futex.c

[patch V4 08/10] rtmutex: Confine deadlock logic to futex

2014-06-11 Thread Thomas Gleixner
The deadlock logic is only required for futexes. Remove the extra arguments for the public functions and also for the futex specific ones which get always called with deadlock detection enabled. Signed-off-by: Thomas Gleixner t...@linutronix.de --- include/linux/rtmutex.h |6 +---