Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932765AbbD0Ppw (ORCPT ); Mon, 27 Apr 2015 11:45:52 -0400 Received: from mail-qg0-f51.google.com ([209.85.192.51]:32877 "EHLO mail-qg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751118AbbD0Ppu (ORCPT ); Mon, 27 Apr 2015 11:45:50 -0400 Date: Mon, 27 Apr 2015 11:45:46 -0400 From: Tejun Heo To: Lai Jiangshan Cc: linux-kernel@vger.kernel.org, Frederic Weisbecker , Christoph Lameter , Kevin Hilman , Mike Galbraith , "Paul E. McKenney" , Viresh Kumar Subject: Re: [PATCH 2/3 V8] workqueue: Create low-level unbound workqueues cpumask Message-ID: <20150427154546.GD1499@htj.duckdns.org> References: <1430128720-3021-1-git-send-email-laijs@cn.fujitsu.com> <1430128720-3021-3-git-send-email-laijs@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430128720-3021-3-git-send-email-laijs@cn.fujitsu.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1423 Lines: 36 On Mon, Apr 27, 2015 at 05:58:39PM +0800, Lai Jiangshan wrote: > From: Frederic Weisbecker > > Create a cpumask that limit the affinity of all unbound workqueues. > This cpumask is controlled though a file at the root of the workqueue > sysfs directory. > > It works on a lower-level than the per WQ_SYSFS workqueues cpumask files > such that the effective cpumask applied for a given unbound workqueue is > the intersection of /sys/devices/virtual/workqueue/$WORKQUEUE/cpumask and > the new /sys/devices/virtual/workqueue/cpumask file. > > This patch implements the basic infrastructure and the read interface. > wq_unbound_cpumask is initially set to cpu_possible_mask. > > Cc: Christoph Lameter > Cc: Kevin Hilman > Cc: Lai Jiangshan > Cc: Mike Galbraith > Cc: Paul E. McKenney > Cc: Tejun Heo > Cc: Viresh Kumar > Signed-off-by: Frederic Weisbecker > Signed-off-by: Lai Jiangshan Applied 1-2 to wq/for-4.2 w/ minor comment updates. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/