Use cpuset_setithread() to apply cpu mask to taskq threads.
Sponsored by: Yandex LLC
This commit is contained in:
parent
d57779868c
commit
c60e497af9
@ -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(td->td_tid, mask);
|
||||
error = cpuset_setithread(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