Skip to content

fix rescaling of scheduler tunables v2

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sched: fix missing sched tunable recalculation on cpu add/removekernel/sched.c kernel/sched_fair.c+32 -132 replies
2/3sched: make tunable scaling style configurableinclude/linux/sched.h kernel/sched.c kernel/sched_debug.c +2 more+61 -12 replies
3/3sched: update normalized values on user updates via proc v2kernel/sched.c kernel/sched_fair.c kernel/sysctl.c+28 -92 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] fix rescaling of scheduler tunables v2

*updates in v2*
Some testing later v2 has a fix and a few minor changes
- changes of the scaling type update the normalized values according to the new factor
- minor fixes to satisfy checkpatch.pl
-> ready for discussion and/or acceptance now :-)

This patch series is based on the ideas of Peter Zijlstra and me in the discussion how to fix missing updates to the scheduler tunables in case of cpu hot add/remove. The values are scaled on boot time but not (yet) in the runtime #cpu changes.

Series contains:
[PATCH 1/3] sched: fix missing sched tunable recalculation on cpu add/remove [PATCH 2/3] sched: make tunable scaling style configurable [PATCH 3/3] sched: update normalized values on user updates via proc v2

[diffstat]

 kernel/sched.c                                  |   41 ++++++++++++++----------
 kernel/sched_fair.c                             |   27 +++++++++++++++
 kernel/sysctl.c                                 |   14 +++++---
 linux-2.6-git-schedrecalc/include/linux/sched.h |   10 +++++
 linux-2.6-git-schedrecalc/kernel/sched.c        |   15 ++++++++
 linux-2.6-git-schedrecalc/kernel/sched_debug.c  |   10 +++++
 linux-2.6-git-schedrecalc/kernel/sched_fair.c   |   13 +++++++
 linux-2.6-git-schedrecalc/kernel/sysctl.c       |   14 ++++++++
 8 files changed, 121 insertions(+), 23 deletions(-)