Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754076AbbHXHyx (ORCPT ); Mon, 24 Aug 2015 03:54:53 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:34875 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696AbbHXHyv (ORCPT ); Mon, 24 Aug 2015 03:54:51 -0400 Message-ID: <1440402888.3430.18.camel@gmail.com> Subject: Re: [PATCH RESEND] sched/nohz: Affine unpinned timers to housekeepers From: Mike Galbraith To: Ingo Molnar Cc: "Paul E. McKenney" , Frederic Weisbecker , Peter Zijlstra , LKML , Vatika Harlalka , Chris Metcalf , Thomas Gleixner , Preeti U Murthy , Christoph Lameter Date: Mon, 24 Aug 2015 09:54:48 +0200 In-Reply-To: <20150824074141.GA19209@gmail.com> References: <1439516774-4614-1-git-send-email-fweisbec@gmail.com> <20150823054032.GA28133@gmail.com> <20150823160101.GA11078@linux.vnet.ibm.com> <20150824064412.GA11581@gmail.com> <1440400997.3430.12.camel@gmail.com> <20150824074141.GA19209@gmail.com> 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: 1008 Lines: 26 On Mon, 2015-08-24 at 09:41 +0200, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Mon, 2015-08-24 at 08:44 +0200, Ingo Molnar wrote: > > > > > the 'housekeeping CPU' is essentially the boot CPU. Yet we dedicate a full mask to > > > it (housekeeping_mask - a variable mask to begin with) and recover the > > > housekeeping CPU via: > > > > > > + return cpumask_any_and(housekeeping_mask, cpu_online_mask); > > > > There can be, and had better be if box is big, multiple housekeepers. > > Yes - but that does not seem to be possible via the code right now AFAICS, so at > minimum it's incomplete. In master housekeepers are set up in tick_nohz_init(). Everybody who's not a nohz_full CPU is a housekeeper. -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/