diff options
author | tjr <tjr@FreeBSD.org> | 2004-06-07 09:35:00 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-06-07 09:35:00 +0000 |
commit | 24fcba21fb1b24b2fca81a5f0c3d537edb00b4b9 (patch) | |
tree | 64eae8ca7d509b52c5b5200ea50ba4ed95fff48c | |
parent | a814c9089c579f23dacdc10a61aa68b1098721f4 (diff) | |
download | FreeBSD-src-24fcba21fb1b24b2fca81a5f0c3d537edb00b4b9.zip FreeBSD-src-24fcba21fb1b24b2fca81a5f0c3d537edb00b4b9.tar.gz |
Remove a stale and misleading comment.
-rw-r--r-- | sys/kern/kern_synch.c | 7 |
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 |