Re: [PATCH 13/13] tty: turn ldisc_mutex into a regular mutex

From: Arnd Bergmann
Date: Wed May 05 2010 - 05:19:04 EST


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@xxxxxxxx>

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
--
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/