Skip to content

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

Clark Williams lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched: create new scheduler include dir and move sysctl defs thereinclude/linux/sched.h include/linux/sched/sysctl.h+122 -1070 replies
2/2sched/rt: add a tuning knob to allow changing SCHED_RR timesliceinclude/linux/sched/sysctl.h kernel/sched/core.c kernel/sched/rt.c +1 more+29 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/2] 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