lkml.org 
[lkml]   [2010]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 13/13] tty: turn ldisc_mutex into a regular mutex
Date
On Wednesday 05 May 2010, Arnd Bergmann wrote:
> This fixes the lock order of the BTM and
> ldisc_mutex so that we never take the BTM
> while holding ldisc_mutex, which means
> we no longer have to use mutex_lock_tty
> when getting ldisc_mutex.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Ignore this one, I just realized that we're releasing
and reacquiring the BTM in tty_ldisc_halt,
tty_set_termios_ldisc and possibly others.

This patch needs more work to make that possible.

Arnd


\
 
 \ /
  Last update: 2010-05-05 11:21    [W:0.142 / U:30.284 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site