svn commit: r269661 - head/sys/kern
Andrey V. Elsukov
ae at FreeBSD.org
Thu Aug 7 10:23:51 UTC 2014
Author: ae
Date: Thu Aug 7 10:23:50 2014
New Revision: 269661
URL: http://svnweb.freebsd.org/changeset/base/269661
Log:
Use cpuset_setithread() to apply cpu mask to taskq threads.
Sponsored by: Yandex LLC
Modified:
head/sys/kern/subr_taskqueue.c
Modified: head/sys/kern/subr_taskqueue.c
==============================================================================
--- head/sys/kern/subr_taskqueue.c Thu Aug 7 09:38:27 2014 (r269660)
+++ head/sys/kern/subr_taskqueue.c Thu Aug 7 10:23:50 2014 (r269661)
@@ -538,7 +538,7 @@ _taskqueue_start_threads(struct taskqueu
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.
More information about the svn-src-head
mailing list