summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_switch.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-09-15 19:49:48 +0000
committerjhb <jhb@FreeBSD.org>2000-09-15 19:49:48 +0000
commit9028b0eeb405707d9b487c562ac6e6c6a457e11e (patch)
tree72fe99cb726e3ca5631ddb46ddff8022acf84c07 /sys/kern/kern_switch.c
parentad31d928a6e0fff6577fbb8bf8ea4b3ac073d61b (diff)
downloadFreeBSD-src-9028b0eeb405707d9b487c562ac6e6c6a457e11e.zip
FreeBSD-src-9028b0eeb405707d9b487c562ac6e6c6a457e11e.tar.gz
Idle processes are always runnable, so let them state at SRUN.
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 296e627..31c06f9 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);
OpenPOWER on IntegriCloud