Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759585Ab3E2Nme (ORCPT ); Wed, 29 May 2013 09:42:34 -0400 Received: from mx0.aculab.com ([213.249.233.131]:36028 "HELO mx0.aculab.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1759457Ab3E2Nmc (ORCPT ); Wed, 29 May 2013 09:42:32 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Subject: RE: [PATCH v6 net-next 2/5] net: implement support for low latency socket polling Date: Wed, 29 May 2013 14:42:11 +0100 Message-ID: In-Reply-To: <1369834647.5109.15.camel@edumazet-glaptop> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v6 net-next 2/5] net: implement support for low latency socket polling Thread-Index: Ac5cceNVsrBIaxAhS62dvUg8nsPAPAAADkmw References: <20130529063916.27486.3841.stgit@ladj378.jer.intel.com> <20130529063935.27486.18610.stgit@ladj378.jer.intel.com> <1369834647.5109.15.camel@edumazet-glaptop> From: "David Laight" To: "Eric Dumazet" , "Eliezer Tamir" Cc: "David Miller" , , , "Jesse Brandeburg" , "Don Skidmore" , , "Willem de Bruijn" , "Andi Kleen" , "HPA" , "Eilon Greenstien" , "Or Gerlitz" , "Alex Rosenbaum" , "Eliezer Tamir" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id r4TDgcqS009569 Content-Length: 288 Lines: 8 > > +/* we don't mind a ~2.5% imprecision */ > > +#define TSC_MHZ (tsc_khz >> 10) Wouldn't (tsc_khz << 10) be better? David ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?