login
Header Space

 
 

Re: [PATCH] tty_ioctl: locking for tty_wait_until_sent

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: <akpm@...>, <linux-kernel@...>
Date: Monday, March 10, 2008 - 6:06 pm

On 10 Mar 2008 23:12:51 +0100
Andi Kleen <andi@firstfloor.org> wrote:


We are not yet ready to unlock the device ioctl paths for tty. We still
explicitly take the BKL in the ioctl paths when calling the following
methods

driver:
	->wait_until_sent()
	->break_ctl()
	->tiocmget
	->tiocmset
	->ioctl
ldisc:
	->ioctl

As well as all the open/close/hangup/ldisc change logic

I'm pretty close to removing it from the modem , ioctl and break methods
and its working for me but needs a few drivers tweaking further.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] tty_ioctl: locking for tty_wait_until_sent, Alan Cox, (Mon Mar 10, 6:06 pm)
speck-geostationary