Skip to content

fix rescaling of scheduler tunabled

[email protected] lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

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 -130 replies
2/3sched: make tunable scaling style configurableinclude/linux/sched.h kernel/sched.c kernel/sched_debug.c +2 more+61 -10 replies
3/3sched: update normalized values on user updates via prockernel/sched.c kernel/sched_fair.c kernel/sysctl.c+27 -80 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 tunabled

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.

The series has not yet got the testing it shouldhave, just some basic functionality tests. But working day is ending and the patches are fine enough for another round of discussion about the basic ideas and implementation.

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

[diffstat]

 kernel/sched.c                                  |   41 ++++++++++++++----------
 kernel/sched_fair.c                             |   27 +++++++++++++++
 kernel/sysctl.c                                 |   12 ++++---
 linux-2.6-git-schedrecalc/include/linux/sched.h |   11 +++++-
 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   |   12 +++++++
 linux-2.6-git-schedrecalc/kernel/sysctl.c       |   14 ++++++++
 8 files changed, 120 insertions(+), 22 deletions(-)