Author: sbruno
Date: Tue Oct 18 13:16:27 2016
New Revision: 307561
URL: https://svnweb.freebsd.org/changeset/base/307561

Log:
  Tell gtask to what we've been bound.
  
  ref: 
https://github.com/NextBSD/NextBSD/commit/54414984cfebb920bbc40aadeb601bdce448d8d7
  
  Submitted by: mm...@nextbsd.org

Modified:
  head/sys/kern/subr_gtaskqueue.c

Modified: head/sys/kern/subr_gtaskqueue.c
==============================================================================
--- head/sys/kern/subr_gtaskqueue.c     Tue Oct 18 13:12:19 2016        
(r307560)
+++ head/sys/kern/subr_gtaskqueue.c     Tue Oct 18 13:16:27 2016        
(r307561)
@@ -633,6 +633,7 @@ taskqgroup_attach(struct taskqgroup *qgr
        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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to