summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2007-06-04 23:57:32 +0000
committerjeff <jeff@FreeBSD.org>2007-06-04 23:57:32 +0000
commitbe3241715a48dab8a6b74311f0444688566e0db5 (patch)
tree94504cdd93e5f8b4e5d7be07bb2a3b46cb6f87ac /sys/dev/syscons
parentb980923789dd5b44ed7f25001a432b29870bd564 (diff)
downloadFreeBSD-src-be3241715a48dab8a6b74311f0444688566e0db5.zip
FreeBSD-src-be3241715a48dab8a6b74311f0444688566e0db5.tar.gz
- Change comments and asserts to reflect the removal of the global
scheduler lock. Tested by: kris, current@ Tested on: i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc. Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 7dae3ea..89d60ef 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -2326,8 +2326,8 @@ sc_switch_scr(sc_softc_t *sc, u_int next_scr)
if (sc->new_scp == sc->old_scp) {
sc->switch_in_progress = 0;
/*
- * XXX wakeup() calls mtx_lock(&sched_lock) which will hang if
- * sched_lock is in an in-between state, e.g., when we stop at
+ * XXX wakeup() locks the scheduler lock which will hang if
+ * the lock is in an in-between state, e.g., when we stop at
* a breakpoint at fork_exit. It has always been wrong to call
* wakeup() when the debugger is active. In RELENG_4, wakeup()
* is supposed to be locked by splhigh(), but the debugger may
OpenPOWER on IntegriCloud