Re: [PATCH] sched: fix/optimise calculation of weight-inverse

From: Peter Zijlstra
Date: Wed May 11 2011 - 15:46:56 EST


On Wed, 2011-05-11 at 19:35 +0200, Stephan BÃrwolf wrote:
> Thus the "err" of the old way can become very large (up to about 2^31 ).
> And of course the new error increases with increasing weight, it is
> still alway
> smaller than the oldway err (because oldway inv converts to newway inv)...

Your table got white-space mungled, but I'll take your word for it. I'll
give the patch a spin tomorrow (without the weight==0 bits), since by
brain officially gave up for today ;-)

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