« Return to Thread: mutexes, IPL, tty locking

Re: mutexes, IPL, tty locking

by David Laight :: Rate this Message:

Reply to Author | View in Thread

On Thu, Oct 22, 2009 at 10:03:13AM -0500, David Young wrote:
>
> What I really want to know is:
>
> > Is it more reasonable for the kernel to expect the driver output      
> > routine to restore the IPL, or to expect the tty routines such as    
> > ttywait() to save and restore the IPL across calls to the output      
> > routine?                                                              

I think the mutex_exit() should do it - somehow.
Otherwise this will all crop up again and again ...

        David

--
David Laight: david@...

 « Return to Thread: mutexes, IPL, tty locking