From 515258abfea6485668c15ea63e0247c2a1adfea0 Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 28 Jun 2004 16:19:50 +0000 Subject: 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 --- sys/kern/kern_idle.c | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.1