Thread (7 messages) flat view 7 messages, 4 authors, 2011-10-20

Re: [patch] pktgen: bug when calling ndelay in x86 architectures

From: David Miller <davem@davemloft.net>
Date: 2011-10-20 20:28:07

From: Eric Dumazet <redacted>
Date: Tue, 18 Oct 2011 16:47:44 +0200
Le mardi 18 octobre 2011 à 15:00 +0100, Ben Hutchings a écrit :
quoted
AIUI, the reason for limits on delays is not that it's bad practice to
spin for so long, but that the delay calculations may overflow or
otherwise become inaccurate.
OK, I can understand that, then a more appropriate patch would be :
I think doing the udelay/ndelay thing is the way to go for 'net' and
-stable.  We can do something sophisticated with ktime et al. in
'net-next'.

Eric, could you please formally submit this patch with proper
changelog etc.?

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help