Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 12/25/2000 01:56:25
Module Name:	syssrc
Committed By:	jmc
Date:		Sun Dec 24 23:56:25 UTC 2000

Modified Files:
	syssrc/sys/kern: kern_lock.c

Log Message:
Default lock_printf to syslog rather than printf. Some of the lock debug checks
are done inside of wakeup which is holding the sched lock. Printf can cause
wakeup to get called again (pty redirection of console message) which will
panic with sched lock already held.

This isn't a long term fix as not being able to printf vs. sched lock should
be cleaned up better but this avoids continual panics with lockdebug running
and an xterm -C.


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 syssrc/sys/kern/kern_lock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.