diff options
author | julian <julian@FreeBSD.org> | 2004-09-01 02:11:28 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-09-01 02:11:28 +0000 |
commit | e9d9514975605045da565470477ceafa13f6174b (patch) | |
tree | 16691683be7649ae0915de2c1fa1995b931091a3 /sys/kern/init_main.c | |
parent | eeddbfb0fa1e4bef7bff6ff83926b674f7d9e29c (diff) | |
download | FreeBSD-src-e9d9514975605045da565470477ceafa13f6174b.zip FreeBSD-src-e9d9514975605045da565470477ceafa13f6174b.tar.gz |
Give setrunqueue() and sched_add() more of a clue as to
where they are coming from and what is expected from them.
MFC after: 2 days
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index e6363e1..cb39a82 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -727,7 +727,7 @@ kick_init(const void *udata __unused) td = FIRST_THREAD_IN_PROC(initproc); mtx_lock_spin(&sched_lock); TD_SET_CAN_RUN(td); - setrunqueue(td); /* XXXKSE */ + setrunqueue(td, SRQ_BORING); /* XXXKSE */ mtx_unlock_spin(&sched_lock); } SYSINIT(kickinit, SI_SUB_KTHREAD_INIT, SI_ORDER_FIRST, kick_init, NULL) |