]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Update normalized values on user updates via proc
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Mon, 30 Nov 2009 11:16:48 +0000 (12:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Dec 2009 09:04:02 +0000 (10:04 +0100)
commit34982ab28c38272e823926dafd68c2a8eeb0ca3f
tree152efff68841e554eb71c82a97d3ed9571352581
parentb113da505ac87cea4cc2e0a7187388d26306ee80
sched: Update normalized values on user updates via proc

The normalized values are also recalculated in case the scaling factor
changes.

This patch updates the internally used scheduler tuning values that are
normalized to one cpu in case a user sets new values via sysfs.

Together with patch 2 of this series this allows to let user configured
values scale (or not) to cpu add/remove events taking place later.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1259579808-11357-4-git-send-email-ehrhardt@linux.vnet.ibm.com>
[ v2: fix warning ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c
kernel/sysctl.c