cvs commit: src/sys/kern kern_proc.c
mbr at FreeBSD.org
Tue Sep 19 12:25:14 PDT 2006
mbr 2006-09-19 19:25:11 UTC
FreeBSD src repository
Fix races between tty.c and sessrele() / doenterpgrp() / leavepgrp(). The tty
code is still under giant lock, but the session/pgrp release code just used
proctree_locks. This explains why moving the proctree_lock in sys/kern/tty.c
rev. 1.258 did fix the panics in our SMP systems.
This should also fix some race panics with revoked ttys.
Reviewed by: jhb
MFC after: 1 week
Revision Changes Path
1.241 +6 -0 src/sys/kern/kern_proc.c
More information about the cvs-src