Re: [PATCH 1/2] sched: fair group: fix overflow(was: fix divide byzero)

From: Ingo Molnar
Date: Thu Jun 12 2008 - 08:23:05 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > I think that (1UL << 18) is a good limited value:
> > 1)it's not too large, we can create a lot of group before overflow
> > 2)it's several times the weight value for nice=-19 (not too small)
>
> Thanks!
>
> Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>

applied to tip/sched, thanks everyone.

Ingo
--
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/