Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317001

Re: [PATCH] sched: Make schedstats a runtime tunable that is disabled by default

From Mel Gorman <mgorman@techsingularity.net>
Newsgroups linux.kernel
Subject Re: [PATCH] sched: Make schedstats a runtime tunable that is disabled by default
Date 2016-01-25 17:50 +0100
Message-ID <qUSv2-6M7-53@gated-at.bofh.it> (permalink)
References <qUMfV-2lm-25@gated-at.bofh.it> <qURfA-5VH-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] sched: Make schedstats a runtime tunable that is disabled by default Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 11:10 +0100
  Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Peter Zijlstra <peterz@infradead.org> - 2016-01-25 12:30 +0100
    Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 14:50 +0100
      Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Peter Zijlstra <peterz@infradead.org> - 2016-01-25 16:00 +0100
        Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Ingo Molnar <mingo@kernel.org> - 2016-01-25 16:50 +0100
          Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 18:10 +0100
            Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Ingo Molnar <mingo@kernel.org> - 2016-01-25 19:50 +0100
              Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 21:20 +0100
                Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 21:50 +0100
                Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Ingo Molnar <mingo@kernel.org> - 2016-01-26 09:20 +0100
        Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 18:10 +0100
  Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Matt Fleming <matt@codeblueprint.co.uk> - 2016-01-25 16:30 +0100
    Re: [PATCH] sched: Make schedstats a runtime tunable that is  disabled by default Mel Gorman <mgorman@techsingularity.net> - 2016-01-25 17:50 +0100

csiph-web