Skip to content

Commit

Permalink
tell gtask what we've been bound to
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Macy committed Oct 13, 2016
1 parent 922d0bd commit 5441498
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/kern/subr_gtaskqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ taskqgroup_attach(struct taskqgroup *qgroup, struct grouptask *gtask,
qgroup->tqg_queue[qid].tgc_cnt++;
LIST_INSERT_HEAD(&qgroup->tqg_queue[qid].tgc_tasks, gtask, gt_list);
gtask->gt_taskqueue = qgroup->tqg_queue[qid].tgc_taskq;
gtask->gt_cpu = qgroup->tqg_queue[qid].tgc_cpu;
if (irq != -1 && smp_started) {
CPU_ZERO(&mask);
CPU_SET(qgroup->tqg_queue[qid].tgc_cpu, &mask);
Expand Down

0 comments on commit 5441498

Please sign in to comment.