Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256AbbD1Egt (ORCPT ); Tue, 28 Apr 2015 00:36:49 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:34928 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbbD1Egr (ORCPT ); Tue, 28 Apr 2015 00:36:47 -0400 Message-ID: <1430195804.3168.19.camel@gmail.com> Subject: Re: [PATCH 3/3 V8] workqueue: Allow modifying low level unbound workqueue cpumask From: Mike Galbraith To: Tejun Heo Cc: Lai Jiangshan , linux-kernel@vger.kernel.org, Christoph Lameter , Kevin Hilman , Mike Galbraith , "Paul E. McKenney" , Viresh Kumar , Frederic Weisbecker Date: Tue, 28 Apr 2015 06:36:44 +0200 In-Reply-To: <20150428034440.GC2152@htj.duckdns.org> References: <1430128720-3021-1-git-send-email-laijs@cn.fujitsu.com> <1430128720-3021-4-git-send-email-laijs@cn.fujitsu.com> <20150427160756.GE1499@htj.duckdns.org> <553EE60C.1040503@cn.fujitsu.com> <20150428034440.GC2152@htj.duckdns.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 23 On Mon, 2015-04-27 at 23:44 -0400, Tejun Heo wrote: > > So, we need an API to modify the wq_unbound_cpumask, and I provided > > this public function. Otherwise, the other code can't modify it. > > I see. I don't have too strong an opinion; however, changing the mask > is a fairly heavy operation. Are there specific reasons why we don't > want to follow the nohz config right away? Isolation is not only applicable to nohz_full. Many loads are unsuitable for nohz_full, yet require maximum isolation. ATM, nohz_full is not dynamic, but hopefully one day will be. In the here and now, we can isolate cores from the scheduler on the fly via cpusets, a prime API user candidate. -Mike -- 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/