Re: [patch 1/2] rtmutex: Handle deadlock detection smarter

From: Thomas Gleixner
Date: Fri Jun 06 2014 - 01:41:30 EST


On Thu, 5 Jun 2014, Steven Rostedt wrote:

> On Thu, 05 Jun 2014 15:28:32 -0000
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
>
> > @@ -1112,7 +1134,8 @@ int rt_mutex_start_proxy_lock(struct rt_
> > return 1;
> > }
> >
> > - ret = task_blocks_on_rt_mutex(lock, waiter, task, detect_deadlock);
> > + /* We enforce deadlock detection for futexes */
> > + ret = task_blocks_on_rt_mutex(lock, waiter, task, 1);
>
> Why bother with passing in detect_deadlock then?
>
> Same goes for rt_mutex_finish_proxy_lock().

Because that's part of the cleanup series to remove it and I did not
want mix stuff here.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/