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: Alan Cox <alan@...>
Cc: Andi Kleen <andi@...>, <akpm@...>, <linux-kernel@...>
Date: Monday, March 10, 2008 - 6:28 pm

On Mon, Mar 10, 2008 at 10:06:43PM +0000, Alan Cox wrote:

Traditionally the usual is to first convert .ioctl to .unlocked_ioctl
and just slap lock_kernel around the whole ioctl handler and then 
later move it down step by step.

I didn't read the code completely but I assume tty_ioctl would be that
handler. I guess i was wrong?

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

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