Date: Fri, 19 Jan 2001 18:04:44 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty.c Message-ID: <200101200204.f0K24iU07216@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/01/19 18:04:44 PST
Modified files:
sys/kern tty.c
Log:
Be more careful with sched_lock in the SIGINFO handler. Specifically, do
not hold sched_lock while calling ttyprintf(). If we are on a serial
console, then ttyprintf() will end up getting the sio lock, resulting in
a lock order violation.
Noticed by: des
Revision Changes Path
1.143 +22 -11 src/sys/kern/tty.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101200204.f0K24iU07216>
