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
This commit is contained in:
John Baldwin 2004-06-28 16:19:50 +00:00
parent 3df6c4de7e
commit c086588f32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131243

View File

@ -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