From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933206AbcAYQqi (ORCPT ); Mon, 25 Jan 2016 11:46:38 -0500 Received: from outbound-smtp05.blacknight.com ([81.17.249.38]:51741 "EHLO outbound-smtp05.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932071AbcAYQqh (ORCPT ); Mon, 25 Jan 2016 11:46:37 -0500 Date: Mon, 25 Jan 2016 16:46:33 +0000 From: Mel Gorman To: Matt Fleming Cc: Peter Zijlstra , Ingo Molnar , Mike Galbraith , LKML Subject: Re: [PATCH] sched: Make schedstats a runtime tunable that is disabled by default Message-ID: <20160125164633.GG3162@techsingularity.net> References: <1453716331-21029-1-git-send-email-mgorman@techsingularity.net> <20160125152908.GC2723@codeblueprint.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20160125152908.GC2723@codeblueprint.co.uk> 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 Mon, Jan 25, 2016 at 03:29:08PM +0000, Matt Fleming wrote: > On Mon, 25 Jan, at 10:05:31AM, Mel Gorman wrote: > > +static int __init setup_schedstats(char *str) > > +{ > > + int ret = 0; > > + if (!str) > > + goto out; > > + > > + if (!strcmp(str, "enable")) { > > + set_schedstats(true); > > + ret = 1; > > + } else if (!strcmp(str, "disable")) { > > + set_schedstats(false); > > + ret = 1; > > + } > > +out: > > + if (!ret) > > + pr_warn("Unable to parse numa_balancing=\n"); > > + > > Copy+paste error? Yes. -- Mel Gorman SUSE Labs