From owner-svn-src-all@FreeBSD.ORG Thu Aug 7 10:23:51 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 231E6810 for ; Thu, 7 Aug 2014 10:23:51 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EF4F72297 for ; Thu, 7 Aug 2014 10:23:50 +0000 (UTC) Received: from ae (uid 1226) (envelope-from ae@FreeBSD.org) id 5aa8 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Thu, 07 Aug 2014 10:23:50 +0000 From: Andrey V. Elsukov Date: Thu, 7 Aug 2014 10:23:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269661 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e353b6.5aa8.4ee2421b@svn.freebsd.org> X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2014 10:23:51 -0000 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.