Re: [PATCH 2/3] sched: make tunable scaling style configurable

From: Peter Zijlstra
Date: Fri Dec 04 2009 - 04:49:40 EST


On Mon, 2009-11-30 at 12:16 +0100, ehrhardt@xxxxxxxxxxxxxxxxxx wrote:

> +++ linux-2.6-git-schedrecalc/kernel/sched.c
> @@ -7010,6 +7010,21 @@ static void update_sysctl(void)
> unsigned int cpus = max(num_online_cpus(), 8U);
> unsigned int factor = 1 + ilog2(cpus);
>
> + unsigned int factor;
> +

Now that won't compile will it ;-)

3rd patch removes the extra factor again, fixed it up properly.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/