From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753102AbbDBQsw (ORCPT ); Thu, 2 Apr 2015 12:48:52 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:35687 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751213AbbDBQsv (ORCPT ); Thu, 2 Apr 2015 12:48:51 -0400 Date: Thu, 2 Apr 2015 18:48:48 +0200 From: Frederic Weisbecker To: Chris Metcalf Cc: Don Zickus , Ingo Molnar , Andrew Morton , Andrew Jones , chai wen , Ulrich Obergfell , Fabian Frederick , Aaron Tomlin , Ben Zhang , Christoph Lameter , Gilad Ben-Yossef , Steven Rostedt , open list Subject: Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores Message-ID: <20150402164845.GD10357@lerouge> References: <1427741465-15747-1-git-send-email-cmetcalf@ezchip.com> <20150331072502.GA16754@gmail.com> <551AE7D4.3020608@ezchip.com> <20150402133502.GA175361@redhat.com> <551D48F9.6090101@ezchip.com> <20150402141527.GD175361@redhat.com> <20150402153827.GC10357@lerouge> <551D6373.2030000@ezchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <551D6373.2030000@ezchip.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 On Thu, Apr 02, 2015 at 11:42:43AM -0400, Chris Metcalf wrote: > OK, I will respin v2 of the patch as follows: > > - Provide a watchdog_cpumask as suggested by Don. > - On a non-NO_HZ_FULL build, it defaults to cpu_possible as normal > - On a NO_HZ_FULL build, it defaults to the housekeeping cpus Ah note that NO_HZ_FULL is only the capability. Nohz full is actually only running if the nohz_full parameter is passed (or NO_HZ_FULL_ALL=y). And now generalist distros enable NO_HZ_FULL so that anybody can use it. So better check tick_nohz_full_enabled() instead of the CONFIG. Thanks. > - If the mask is modified, we disable and then re-enable the watchdog, > so that the watchdog init code can exit() the appropriate threads as > they start up > > This should address the various concerns that have been raised. > > -- > Chris Metcalf, EZChip Semiconductor > http://www.ezchip.com >