lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B7257@saturn3.aculab.com>
Date:	Wed, 29 May 2013 14:42:11 +0100
From:	"David Laight" <David.Laight@...LAB.COM>
To:	"Eric Dumazet" <eric.dumazet@...il.com>,
	"Eliezer Tamir" <eliezer.tamir@...ux.intel.com>
Cc:	"David Miller" <davem@...emloft.net>,
	<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
	"Jesse Brandeburg" <jesse.brandeburg@...el.com>,
	"Don Skidmore" <donald.c.skidmore@...el.com>,
	<e1000-devel@...ts.sourceforge.net>,
	"Willem de Bruijn" <willemb@...gle.com>,
	"Andi Kleen" <andi@...stfloor.org>, "HPA" <hpa@...or.com>,
	"Eilon Greenstien" <eilong@...adcom.com>,
	"Or Gerlitz" <or.gerlitz@...il.com>,
	"Alex Rosenbaum" <alexr@...lanox.com>,
	"Eliezer Tamir" <eliezer@...ir.org.il>
Subject: RE: [PATCH v6 net-next 2/5] net: implement support for low latency socket polling

> > +/* we don't mind a ~2.5% imprecision */
> > +#define TSC_MHZ (tsc_khz >> 10)

Wouldn't (tsc_khz << 10) be better?

	David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ