Messages in this thread | | | From | Namhyung Kim <> | Subject | Re: [PATCH 1/2] sched: move scheduler sysctl bits into dedicated header file | Date | Tue, 29 Jan 2013 15:05:43 +0900 |
| |
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.
Thanks Namhyung
| |