[PATCHv2 0/2] move sysctl bits into new header and add a SCHED_RRtuning knob

From: Clark Williams
Date: Thu Jan 31 2013 - 14:52:52 EST



Ingo,

On your suggestion, I created the directory include/linux/sched and created
include/linux/sched/sysctl.h, which contains all the sysctl scheduler bits (plus a
few autogroup prototype definitions). If there are still objections we can create
autogroup.h or some other more generic entry in include/linux/sched and move them
there (or even back to include/linux/sched.h).

The second patch is just adding the SCHED_RR tuning knob to the new sysctl header
and the code changes to core.c, rt.c and sysctl.c.

I saw a few other things that might be candidates for a new file in the sched dir,
things like NO_HZ and CGROUPS but wanted to get this in place first.

Clark Williams (2):
sched: create new scheduler include dir and move sysctl defs there
sched/rt: add a tuning knob to allow changing SCHED_RR timeslice

include/linux/sched.h | 108 +------------------------------------
include/linux/sched/sysctl.h | 126 +++++++++++++++++++++++++++++++++++++++++++
kernel/sched/core.c | 19 +++++++
kernel/sched/rt.c | 6 ++-
kernel/sysctl.c | 8 +++
5 files changed, 158 insertions(+), 109 deletions(-)
create mode 100644 include/linux/sched/sysctl.h

--
1.7.11.7

Attachment: signature.asc
Description: PGP signature