svn commit: r328797 - stable/11/sys/kern
Alexander Motin
mav at FreeBSD.org
Fri Feb 2 17:59:45 UTC 2018
Author: mav
Date: Fri Feb 2 17:59:44 2018
New Revision: 328797
URL: https://svnweb.freebsd.org/changeset/base/328797
Log:
MFC r307561 (by sbruno): Tell gtask to what we've been bound.
ref: https://github.com/NextBSD/NextBSD/commit/54414984cfebb920bbc40aadeb601bdce448d8d7
Modified:
stable/11/sys/kern/subr_gtaskqueue.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/kern/subr_gtaskqueue.c
==============================================================================
--- stable/11/sys/kern/subr_gtaskqueue.c Fri Feb 2 17:56:47 2018 (r328796)
+++ stable/11/sys/kern/subr_gtaskqueue.c Fri Feb 2 17:59:44 2018 (r328797)
@@ -634,6 +634,7 @@ taskqgroup_attach(struct taskqgroup *qgroup, struct gr
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);
More information about the svn-src-all
mailing list