mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
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
7bfe91e85c
commit
924aaf69ff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266939
@ -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…
Reference in New Issue
Block a user