summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-09-01 02:11:28 +0000
committerjulian <julian@FreeBSD.org>2004-09-01 02:11:28 +0000
commite9d9514975605045da565470477ceafa13f6174b (patch)
tree16691683be7649ae0915de2c1fa1995b931091a3 /sys/i386/linux
parenteeddbfb0fa1e4bef7bff6ff83926b674f7d9e29c (diff)
downloadFreeBSD-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/i386/linux')
-rw-r--r--sys/i386/linux/linux_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/linux/linux_machdep.c b/sys/i386/linux/linux_machdep.c
index 724719a..0e2786c 100644
--- a/sys/i386/linux/linux_machdep.c
+++ b/sys/i386/linux/linux_machdep.c
@@ -365,7 +365,7 @@ linux_clone(struct thread *td, struct linux_clone_args *args)
*/
mtx_lock_spin(&sched_lock);
TD_SET_CAN_RUN(td2);
- setrunqueue(td2);
+ setrunqueue(td2, SRQ_BORING);
mtx_unlock_spin(&sched_lock);
td->td_retval[0] = p2->p_pid;
OpenPOWER on IntegriCloud