Re: crash in tty code in 6.1.. fixed since?

From: Attilio Rao <attilio_at_FreeBSD.org>
Date: Sat, 14 Jul 2007 00:22:55 +0200
M. Warner Losh wrote:
> In message: <46972B28.1010409_at_FreeBSD.org>
>             Attilio Rao <attilio_at_FreeBSD.org> writes:
> : I think it has been fixed some months ago IIRC.
> : The problem here, should be that if sx_slock() let thread sleep, Giant 
> : is released before to sleep and tp->t_session can be accessed in racy way.
> : Another nice side-effect about having tty Giant :)
> 
> I've been having crashes right and left in cblock code.  I've had good
> luck converting it to using a mutext.  However, someone else was
> telling me they had big problems going all the way and locking the
> entire TTY subsystem.  The evidence is in p4...

What depot do you refer exactly?

Attilio
Received on Fri Jul 13 2007 - 20:23:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC