aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_switch.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2000-09-15 19:49:48 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2000-09-15 19:49:48 +0000
commitf6a0af801519cdd887344a4adaef23995b0b6309 (patch)
tree8daf055611aeb029ca9dd2ff2edc9bdd6e489c8c /sys/kern/kern_switch.c
parentdb72809d2469d54868c354b48961e0318609a481 (diff)
downloadsrc-f6a0af801519cdd887344a4adaef23995b0b6309.tar.gz
src-f6a0af801519cdd887344a4adaef23995b0b6309.zip
Idle processes are always runnable, so let them state at SRUN.
Notes
Notes: svn path=/head/; revision=65900
Diffstat (limited to 'sys/kern/kern_switch.c')
-rw-r--r--sys/kern/kern_switch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c
index 296e627c4a64..31c06f90be72 100644
--- a/sys/kern/kern_switch.c
+++ b/sys/kern/kern_switch.c
@@ -233,7 +233,6 @@ chooseproc(void)
} else {
CTR1(KTR_PROC, "chooseproc: idleproc, schedlock %lx",
(long)sched_lock.mtx_lock);
- idleproc->p_stat = SRUN;
return idleproc;
}
p = TAILQ_FIRST(q);