Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2014 10:23:50 +0000 (UTC)
From:      Andrey V. Elsukov <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269661 - head/sys/kern
Message-ID:  <53e353b6.5aa8.4ee2421b@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e353b6.5aa8.4ee2421b>