From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752714AbbJTVDi (ORCPT ); Tue, 20 Oct 2015 17:03:38 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:35686 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751071AbbJTVDf (ORCPT ); Tue, 20 Oct 2015 17:03:35 -0400 Date: Tue, 20 Oct 2015 23:03:33 +0200 From: Frederic Weisbecker To: Chris Metcalf Cc: Gilad Ben Yossef , Steven Rostedt , Ingo Molnar , Peter Zijlstra , Andrew Morton , Rik van Riel , Tejun Heo , Thomas Gleixner , "Paul E. McKenney" , Christoph Lameter , Viresh Kumar , Catalin Marinas , Will Deacon , Andy Lutomirski , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 08/14] nohz_full: allow disabling the 1Hz minimum tick at boot Message-ID: <20151020210331.GC29289@lerouge> References: <1445373372-6567-1-git-send-email-cmetcalf@ezchip.com> <1445373372-6567-9-git-send-email-cmetcalf@ezchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1445373372-6567-9-git-send-email-cmetcalf@ezchip.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 20, 2015 at 04:36:06PM -0400, Chris Metcalf wrote: > While the current fallback to 1-second tick is still required for > a number of kernel accounting tasks (e.g. vruntime, load balancing > data, and load accounting), it's useful to be able to disable it > for testing purposes. Paul McKenney observed that if we provide > a mode where the 1Hz fallback timer is removed, this will provide > an environment where new code that relies on that tick will get > punished, and we won't forgive such assumptions silently. > > This option also allows easy testing of nohz_full and task-isolation > modes to determine what functionality needs to be implemented, > and what possibly-spurious timer interrupts are scheduled when > the basic 1Hz tick has been turned off. > > Signed-off-by: Chris Metcalf There have been proposals to disable/tune the 1 Hz tick via debugfs which I Nacked because once you give such an opportunity to the users, they will use that hack and never fix the real underlying issue. For the same reasons, I'm sorry but I have to Nack this proposal as well. If this is for development or testing purpose, scheduler_max_tick_deferment() is easily commented out.