From: Ingo Molnar <mingo@kernel.org>
To: Clark Williams <williams@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>,
Steven Rostedt <rostedt@goodmis.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] sched: move scheduler sysctl bits into dedicated header file
Date: Thu, 31 Jan 2013 12:25:08 +0100 [thread overview]
Message-ID: <20130131112508.GC4587@gmail.com> (raw)
In-Reply-To: <20130129115743.0f9e67dc@redhat.com>
* Clark Williams <williams@redhat.com> wrote:
> On Tue, 29 Jan 2013 15:05:43 +0900
> Namhyung Kim <namhyung@kernel.org> wrote:
>
> > Hi Clark,
> >
> > On Mon, 28 Jan 2013 14:31:20 -0600, Clark Williams wrote:
> > > Move all the scheduler sysctl-related bits out of include/linux/sched.h
> > > into a new file include/linux/sched_sysctl.h.
> > >
> > > Signed-off-by: Clark Williams <williams@redhat.com>
> > > ---
> > [snip]
> > > diff --git a/include/linux/sched_sysctl.h b/include/linux/sched_sysctl.h
> > > new file mode 100644
> > > index 0000000..912adab
> > > --- /dev/null
> > > +++ b/include/linux/sched_sysctl.h
> > > @@ -0,0 +1,121 @@
> > > +#ifndef _SCHED_SYSCTL_H
> > > +#define _SCHED_SYSCTL_H
> > > +
> > > +
> > > +/* provide a home for sysctl scheduler tuning knobs */
> > > +
> > > +/*
> > > + * default timeslice is 100 msecs (used only for SCHED_RR tasks).
> > > + * Timeslices get refilled after they expire.
> > > + */
> > > +#define RR_TIMESLICE (100 * HZ / 1000)
> >
> > It seems this line came from sched.h but I can't find that part
> > deleted.
> >
>
> Arggghh! I reorganized the commits and didn't remove
> RR_TIMESLICE when I moved it. I'm surprised it compiled.
>
> I can generate a new patchset or let Ingo just remove it from
> sched.h.
Please generate a new patch-set.
Mind also changing the placement of the new file a bit? Could
you create a new include/linux/sched/ directory, and put a new
sysctl.h into it?
That way further sched.h splitups will populate
include/linux/sched/ nicely.
Agreed?
Thanks,
Ingo
prev parent reply other threads:[~2013-01-31 11:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-28 20:31 [PATCH 1/2] sched: move scheduler sysctl bits into dedicated header file Clark Williams
2013-01-29 1:12 ` Li Zefan
2013-01-29 17:55 ` Clark Williams
2013-01-29 6:05 ` Namhyung Kim
2013-01-29 17:57 ` Clark Williams
2013-01-29 18:05 ` Steven Rostedt
2013-01-31 11:25 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130131112508.GC4587@gmail.com \
--to=mingo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=williams@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox