Date: Sat, 12 Feb 2005 15:38:09 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sio sio.c Message-ID: <200502121538.j1CFc9vd098624@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502121538.j1CFc9vd098624>