From owner-cvs-all Fri Jan 19 18: 5:12 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 08F6E37B6AC; Fri, 19 Jan 2001 18:04:45 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0K24iU07216; Fri, 19 Jan 2001 18:04:44 -0800 (PST) (envelope-from jhb) Message-Id: <200101200204.f0K24iU07216@freefall.freebsd.org> From: John Baldwin Date: Fri, 19 Jan 2001 18:04:44 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern tty.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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