diff options
author | John Baldwin <jhb@FreeBSD.org> | 2000-09-15 19:49:48 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2000-09-15 19:49:48 +0000 |
commit | f6a0af801519cdd887344a4adaef23995b0b6309 (patch) | |
tree | 8daf055611aeb029ca9dd2ff2edc9bdd6e489c8c /sys/kern/kern_switch.c | |
parent | db72809d2469d54868c354b48961e0318609a481 (diff) | |
download | src-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.c | 1 |
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); |