]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
sched: scale sysctl_sched_shares_ratelimit with nr_cpus
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 4 Aug 2008 06:54:26 +0000 (08:54 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 Aug 2008 16:25:07 +0000 (18:25 +0200)
commit55cd53404c5cc5fd94708232e3b4aa4a9388917b
tree08a3fe8cf626735bc8cdb96508824c4c49aad265
parentf1679d08480008e06fd619c71635ed33274e2595
sched: scale sysctl_sched_shares_ratelimit with nr_cpus

David reported that his Niagra spend a little too much time in
tg_shares_up(), which considering he has a large cpu count makes sense.

So scale the ratelimit value with the number of cpus like we do for
other controls as well.

Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c