From owner-cvs-src@FreeBSD.ORG Sat Feb 12 15:38:09 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8467B16A4CE; Sat, 12 Feb 2005 15:38:09 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FECC43D31; Sat, 12 Feb 2005 15:38:09 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1CFc9dB098625; Sat, 12 Feb 2005 15:38:09 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1CFc9vd098624; Sat, 12 Feb 2005 15:38:09 GMT (envelope-from rwatson) Message-Id: <200502121538.j1CFc9vd098624@repoman.freebsd.org> From: Robert Watson Date: Sat, 12 Feb 2005 15:38:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/sys/dev/sio sio.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 15:38:09 -0000 rwatson 2005-02-12 15:38:09 UTC FreeBSD src repository Modified files: (Branch: RELENG_5) sys/dev/sio sio.c Log: Merge sio.c:1.457 and sio.c:1.458 from HEAD to RELENG_5: date: 2005/02/03 10:35:05; author: rwatson; state: Exp; lines: +9 -5 When entering siocnputc() with (kdb_active), don't acquire (or release) the sio spin mutex, as use of synchronization primitives in the debugger can result in substantial problems. With this patch in place entering the debugger via a serial console is made substantially more reliable. date: 2005/02/08 17:56:04; author: rwatson; state: Exp; lines: +5 -9 Simplify the "and if we're in the debugger, don't use locks" logic, correcting some misthinking. Discussed with (really this time): bde Revision Changes Path 1.450.2.1 +1 -1 src/sys/dev/sio/sio.c