Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755252Ab1EKTqx (ORCPT ); Wed, 11 May 2011 15:46:53 -0400 Received: from casper.infradead.org ([85.118.1.10]:36654 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754412Ab1EKTqw (ORCPT ); Wed, 11 May 2011 15:46:52 -0400 Subject: Re: [PATCH] sched: fix/optimise calculation of weight-inverse From: Peter Zijlstra To: Stephan =?ISO-8859-1?Q?B=E4rwolf?= Cc: Ingo Molnar , Linus Torvalds , Nikhil Rao , Mike Galbraith , "Nikunj A. Dadhania" , Srivatsa Vaddagiri , linux-kernel@vger.kernel.org In-Reply-To: <4DCAC8FC.5060505@tu-ilmenau.de> References: <4DCAB351.4010204@tu-ilmenau.de> <20110511162030.GA2638@elte.hu> <1305132185.2914.251.camel@laptop> <4DCAC8FC.5060505@tu-ilmenau.de> Content-Type: text/plain; charset="UTF-8" Date: Wed, 11 May 2011 21:49:53 +0200 Message-ID: <1305143393.2914.255.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 725 Lines: 15 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/