Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965013Ab3FSSmr (ORCPT ); Wed, 19 Jun 2013 14:42:47 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:33107 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964914Ab3FSSmo (ORCPT ); Wed, 19 Jun 2013 14:42:44 -0400 Date: Wed, 19 Jun 2013 20:42:40 +0200 From: Frederic Weisbecker To: Kevin Hilman Cc: linaro-kernel@lists.linaro.org, Ingo Molnar , Peter Zijlstra , Clark Williams , Tony Luck , Andrew Morton , Kees Cook , Mel Gorman , Rik van Riel , open list Subject: Re: [PATCH 1/2] sched/nohz: add sysctl control over sched_tick_max_deferment Message-ID: <20130619184238.GD21522@somewhere.redhat.com> References: <1371599913-1232-1-git-send-email-khilman@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1371599913-1232-1-git-send-email-khilman@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 952 Lines: 22 On Tue, Jun 18, 2013 at 04:58:28PM -0700, Kevin Hilman wrote: > Allow sysctl override of sched_tick_max_deferment in order to ease > finding/fixing the remaining issues with full nohz. > > The value to be written is in jiffies, and -1 means the max deferment > is disabled (scheduler_tick_max_deferment() returns KTIME_MAX.) > > Cc: Frederic Weisbecker > Signed-off-by: Kevin Hilman This looks like a useful thing but I wonder if a debugfs file would be more appropriate than sysctl. The scheduler tick max deferment is supposed to be a temporary hack so we probably don't want to bring a real user ABI for that. I believe sysctl is for permanent ABIs, right? -- 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/