Skip to contentSkip to conversation

move sysctl bits into new header and add a SCHED_RR tuning knob

PATCH In review Clark Williams 1 participant 1 message Jan 31, 2013

lore
Share & tools
lore
#0 lore raw

v2 cover move sysctl bits into new header and add a SCHED_RR tuning knob

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
Signature · 1 line
1.7.11.7