[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160125152908.GC2723@codeblueprint.co.uk>
Date: Mon, 25 Jan 2016 15:29:08 +0000
From: Matt Fleming <matt@...eblueprint.co.uk>
To: Mel Gorman <mgorman@...hsingularity.net>
Cc: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
Mike Galbraith <mgalbraith@...e.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sched: Make schedstats a runtime tunable that is
disabled by default
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?
Powered by blists - more mailing lists