From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933317AbbCPTih (ORCPT ); Mon, 16 Mar 2015 15:38:37 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:34260 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932070AbbCPTig (ORCPT ); Mon, 16 Mar 2015 15:38:36 -0400 From: Kevin Hilman To: Frederic Weisbecker Cc: Lai Jiangshan , linux-kernel@vger.kernel.org, Christoph Lameter , Mike Galbraith , "Paul E. McKenney" , Tejun Heo , Viresh Kumar Subject: Re: [PATCH 3/4] workqueue: Create low-level unbound workqueues cpumask References: <1426136412-7594-1-git-send-email-laijs@cn.fujitsu.com> <1426136412-7594-4-git-send-email-laijs@cn.fujitsu.com> <7h4mpopie6.fsf@deeprootsystems.com> <5503E8D1.2030909@cn.fujitsu.com> <7hlhiwooib.fsf@deeprootsystems.com> <20150316172514.GD4054@lerouge> Date: Mon, 16 Mar 2015 12:38:32 -0700 In-Reply-To: <20150316172514.GD4054@lerouge> (Frederic Weisbecker's message of "Mon, 16 Mar 2015 18:25:27 +0100") Message-ID: <7hbnjsohqf.fsf@deeprootsystems.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Frederic Weisbecker writes: > On Mon, Mar 16, 2015 at 10:12:12AM -0700, Kevin Hilman wrote: >> Lai Jiangshan writes: >> >> > On 03/14/2015 07:49 AM, Kevin Hilman wrote: [...] >> >> >> >> As I mentioned in an earlier discussion[1], I still think this could >> >> default too the housekeeping CPUs in the NO_HZ_FULL case: >> >> >> >> #ifdef CONFIG_NO_HZ_FULL >> >> cpumask_complement(wq_unbound_cpumask, tick_nohz_full_mask); >> > >> > >> > No, the default/booted wq_unbound_cpumask should be cpu_possible_mask. >> > >> >> Even for NO_HZ_FULL? >> >> IMO, for NO_HZ_FULL, we want the unbound workqueues to be on the >> housekeeping CPU(s). > > If it should be the default on NO_HZ_FULL, maybe we should do this from the > tick nohz code. Some late or fs initcall that will do the workqueue affinity, > timer affinity, etc... Sure, I'd be fine with that too. Kevin