summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-06-07 09:35:00 +0000
committertjr <tjr@FreeBSD.org>2004-06-07 09:35:00 +0000
commit24fcba21fb1b24b2fca81a5f0c3d537edb00b4b9 (patch)
tree64eae8ca7d509b52c5b5200ea50ba4ed95fff48c /sys/kern
parenta814c9089c579f23dacdc10a61aa68b1098721f4 (diff)
downloadFreeBSD-src-24fcba21fb1b24b2fca81a5f0c3d537edb00b4b9.zip
FreeBSD-src-24fcba21fb1b24b2fca81a5f0c3d537edb00b4b9.tar.gz
Remove a stale and misleading comment.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_synch.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 9fa44bd..71d78a0 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -171,13 +171,6 @@ msleep(ident, mtx, priority, wmesg, timo)
sq = sleepq_lookup(ident);
mtx_lock_spin(&sched_lock);
- /*
- * If we are capable of async syscalls and there isn't already
- * another one ready to return, start a new thread
- * and queue it as ready to run. Note that there is danger here
- * because we need to make sure that we don't sleep allocating
- * the thread (recursion here might be bad).
- */
if (p->p_flag & P_SA || p->p_numthreads > 1) {
/*
* Just don't bother if we are exiting
OpenPOWER on IntegriCloud