sched: Make tunable scaling style configurable
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Mon, 30 Nov 2009 11:16:47 +0000 (12:16 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Dec 2009 09:04:01 +0000 (10:04 +0100)
commit1983a922a1bc843806b9a36cf3a370b242783140
tree3071f23d39e05587823a40033c4c11a0867dd46e
parent0bcdcf28c979869f44e05121b96ff2cfb05bd8e6
sched: Make tunable scaling style configurable

As scaling now takes place on all kind of cpu add/remove events a user
that configures values via proc should be able to configure if his set
values are still rescaled or kept whatever happens.

As the comments state that log2 was just a second guess that worked the
interface is not just designed for on/off, but to choose a scaling type.
Currently this allows none, log and linear, but more important it allwos
us to keep the interface even if someone has an even better idea how to
scale the values.

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