diff options
author | jhb <jhb@FreeBSD.org> | 2004-06-28 16:19:50 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-06-28 16:19:50 +0000 |
commit | 515258abfea6485668c15ea63e0247c2a1adfea0 (patch) | |
tree | c060b7f59be2f1212b15b2edcc277dd76da14a36 /sys | |
parent | 050c6affecf6111c053a87858ce26459aa2a3b99 (diff) | |
download | FreeBSD-src-515258abfea6485668c15ea63e0247c2a1adfea0.zip FreeBSD-src-515258abfea6485668c15ea63e0247c2a1adfea0.tar.gz |
Adjust the priority of the idle threads to be the lowest possible
priority. This is just a comestic nit as the idle thread priorities aren't
used by the schedulers.
Reported by: bde
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_idle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_idle.c b/sys/kern/kern_idle.c index 5538baf..62d9704 100644 --- a/sys/kern/kern_idle.c +++ b/sys/kern/kern_idle.c @@ -60,6 +60,7 @@ idle_setup(void *dummy) td = FIRST_THREAD_IN_PROC(p); td->td_state = TDS_CAN_RUN; td->td_flags |= TDF_IDLETD; + td->td_priority = PRI_MAX_IDLE; mtx_unlock_spin(&sched_lock); PROC_UNLOCK(p); #ifdef SMP |