Thread (16 messages) flat view 16 messages, 7 authors, 2013-06-13

Re: [PATCH net-next 1/2] net: remove NET_LL_RX_POLL config menue

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2013-06-13 02:01:10
Also in: lkml

On Wed, 12 Jun 2013 15:12:05 -0700 (PDT)
David Miller [off-list ref] wrote:
From: Eliezer Tamir <redacted>
Date: Tue, 11 Jun 2013 17:24:28 +0300
quoted
 	depends on X86_TSC
Wait a second, I didn't notice this before.  There needs to be a better
way to test for the accuracy you need, or if the issue is lack of a proper
API for cycle counter reading, fix that rather than add ugly arch
specific dependencies to generic networking code.
This should be sched_clock(), rather than direct TSC access.
Also any code using TSC or sched_clock has to be carefully audited to deal with
clocks running at different rates on different CPU's. Basically value is only
meaning full on same CPU.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help