]> git.baikalelectronics.ru Git - kernel.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)
commitcc4ee0c93ac384bddcdf6b0946019b4c817828ed
tree08a3fe8cf626735bc8cdb96508824c4c49aad265
parent1116f964b5f34264554141dad55d88711d5284ff
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