commit | 55cd53404c5cc5fd94708232e3b4aa4a9388917b | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Mon Aug 04 08:54:26 2008 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Aug 15 18:25:07 2008 +0200 |
tree | 08a3fe8cf626735bc8cdb96508824c4c49aad265 | |
parent | f1679d08480008e06fd619c71635ed33274e2595 [diff] |
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>