From: Peter Zijlstra Date: Mon, 4 Aug 2008 06:54:26 +0000 (+0200) Subject: sched: scale sysctl_sched_shares_ratelimit with nr_cpus X-Git-Tag: v2.6.27-rc4~51^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55cd53404c5cc5fd94708232e3b4aa4a9388917b;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed