Re: [PATCH v6 net-next 2/5] net: implement support for low latency socket polling
From: Eric Dumazet <hidden>
Date: 2013-05-29 13:49:02
Also in:
lkml
From: Eric Dumazet <hidden>
Date: 2013-05-29 13:49:02
Also in:
lkml
On Wed, 2013-05-29 at 14:42 +0100, David Laight wrote:
quoted
quoted
+/* we don't mind a ~2.5% imprecision */ +#define TSC_MHZ (tsc_khz >> 10)Wouldn't (tsc_khz << 10) be better?
We want number of cycles per usec. Your formula gives number of cycles per 1.024 second. ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ E1000-devel mailing list E1000-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired