cvs commit: src/sys/kern kern_lock.c
Paul Saab
ps at FreeBSD.org
Mon Nov 29 14:58:33 PST 2004
ps 2004-11-29 22:58:32 UTC
FreeBSD src repository
Modified files:
sys/kern kern_lock.c
Log:
When upgrading the shared lock to an exclusive lock, if we discover
that the exclusive lock is already held, then we call panic. Don't
clobber internal lock state before panic'ing. This change improves
debugging if this case were to happen.
Submitted by: Mohan Srinivasan mohans at yahoo-inc dot com
Reviewed by: rwatson
Revision Changes Path
1.77 +2 -3 src/sys/kern/kern_lock.c
More information about the cvs-src
mailing list