From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) by lists.bufferbloat.net (Postfix) with ESMTPS id AF4413ED91 for ; Mon, 21 Dec 2015 19:31:51 -0500 (EST) Received: by mail-lf0-x22c.google.com with SMTP id y184so119834143lfc.1 for ; Mon, 21 Dec 2015 16:31:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0gwYeRTzbc8zrsNdPcZWez53zqy4ewAD7+6z9x7u6dk=; b=k4wbNd89x0V+O2VejHxVMrmAXAlwJw4Jm9MPEg8do52Csd6/j7wrr0KXttoA2M3hLq jN9k+igeCnNw3Cl0tHpaL7H9+V6hOBD5h1ivV7PHX78NBA0ke1lcXe0fmwa2AhYenxJB cJ5QDWqI2IgZTWJAKGzGzAyX1SFrToGbgqDWxSm0ynpiUIS3/9yECN19gZFFto6YYOoE xvaCKFr2TRSEJXDAzxbDa21NdNGB8tVdRcjJgnDVw1jZONXAMjfcT1Ii2uxaXY3J8aoX lBCMdIfFg4JsOH6XvdkO7c9dOq1rxD1Vu1qd9132Fv60o6rIXIlE1tqVwGHVnEg4Y6ua 1qGw== X-Received: by 10.25.91.11 with SMTP id p11mr7667924lfb.35.1450744310437; Mon, 21 Dec 2015 16:31:50 -0800 (PST) Received: from bass.home.chromatix.fi (37-33-99-74.bb.dnainternet.fi. [37.33.99.74]) by smtp.gmail.com with ESMTPSA id a190sm5367114lfa.32.2015.12.21.16.31.49 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Dec 2015 16:31:49 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) From: Jonathan Morton In-Reply-To: Date: Tue, 22 Dec 2015 02:31:46 +0200 Cc: Dave Taht , cake@lists.bufferbloat.net Content-Transfer-Encoding: quoted-printable Message-Id: <51B27C69-6479-413C-8869-8A9ACCDAB844@gmail.com> References: To: =?windows-1252?Q?Bj=F6rn_Gr=F6nvall?= X-Mailer: Apple Mail (2.3112) Subject: Re: [Cake] and the bad cpu news on arm is X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2015 00:31:51 -0000 > On 20 Dec, 2015, at 10:55, Bj=F6rn Gr=F6nvall = wrote: >=20 > The attached patch avoids reading data that will not be used. It will = also save instructions when there are =93q->way_hits=94. I made some small improvements on top of your patch before applying it, = since it is unnecessary to re-initialise k after each loop has = unsuccessfully completed. - Jonathan Morton