summaryrefslogtreecommitdiff
path: root/include/linux/pmu.h
diff options
context:
space:
mode:
authorNick Piggin <nickpiggin@yahoo.com.au>2005-06-26 01:57:13 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 03:24:41 +0400
commit7897986bad8f6cd50d6149345aca7f6480f49464 (patch)
tree10a5e08e004ae685aaab6823a3774803455b7704 /include/linux/pmu.h
parent99b61ccf0bf0e9a85823d39a5db6a1519caeb13d (diff)
downloadlinux-7897986bad8f6cd50d6149345aca7f6480f49464.tar.xz
[PATCH] sched: balance timers
Do CPU load averaging over a number of different intervals. Allow each interval to be chosen by sending a parameter to source_load and target_load. 0 is instantaneous, idx > 0 returns a decaying average with the most recent sample weighted at 2^(idx-1). To a maximum of 3 (could be easily increased). So generally a higher number will result in more conservative balancing. Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/pmu.h')
0 files changed, 0 insertions, 0 deletions