diff options
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c index ecabbe54..6cd56ee9 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -784,7 +784,7 @@ thread_sched_ts_enqueue(struct thread_ts_runq *ts_runq, unsigned long round, group->weight = group_weight; /* Insert at the front of the group to improve interactivity */ - list_insert(&group->threads, &thread->ts_ctx.group_node); + list_insert_head(&group->threads, &thread->ts_ctx.group_node); list_insert_tail(&ts_runq->threads, &thread->ts_ctx.runq_node); thread->ts_ctx.ts_runq = ts_runq; } |