Pin the right thread.
This _was_ right, a last minute suggestion and not enough testing makes Adrian a bad boy. Tested: * igb(4) with RSS patches, by hand verifying each igb(4) taskqueue tid from procstat -ka using cpuset -g -t <tid>.
This commit is contained in:
parent
f950237608
commit
e3480f19d0
@ -538,7 +538,7 @@ _taskqueue_start_threads(struct taskqueue **tqp, int count, int pri,
|
||||
continue;
|
||||
td = tq->tq_threads[i];
|
||||
if (mask) {
|
||||
error = cpuset_setthread(curthread->td_tid, mask);
|
||||
error = cpuset_setthread(td->td_tid, mask);
|
||||
/*
|
||||
* Failing to pin is rarely an actual fatal error;
|
||||
* it'll just affect performance.
|
||||
|
Loading…
x
Reference in New Issue
Block a user