[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201105271553.18132.arnd@arndb.de>
Date: Fri, 27 May 2011 15:53:17 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Jiri Slaby <jslaby@...e.cz>
Cc: Andreas Bombe <aeb@...ian.org>, alan@...rguk.ukuu.org.uk,
linux-kernel@...r.kernel.org, greg@...ah.com, jirislaby@...il.com
Subject: Re: tty_lock held during transmit wait in close: still unresolved
On Friday 27 May 2011, Jiri Slaby wrote:
> Actually the best would be to get rid of tty_lock completely. Here I
> have a patch removing tty_lock from wait_until_sent path. I've been
> using a kernel with the patch applied for about month without any
> problems. But I have only 8250-based serial.
I agree that this would be the best option. The only reason I had
for holding the tty_lock in wait_until_sent is that it the BKL
has been held there tradiditonally. I could not find anything that
would break without holding it, but I also didn't look very hard.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists