* [ Patch ]: Fix loopback communication latency bug
@ 2005-04-19 8:03 yangyi
2005-04-21 7:26 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: yangyi @ 2005-04-19 8:03 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Rt-Dev@Mvista. Com, LKML
Hi, Ingo
For the option PREEMPT_RT, local communication latency is very very big,
it is about 30 to 50 times as big as the option PREEMPT_NONE as far as
local ping latency is concerned. Obviously, this should be fixed ASAP.
This patch fixes this bug by changing netif_rx to netif_rx_ni in
loopback device driver.
--- linux-2.6.10-orig/drivers/net/loopback.c 2005-04-19
15:12:34.000000000 +0800
+++ linux-2.6.10/drivers/net/loopback.c 2005-04-19 15:13:28.000000000
+0800
@@ -153,7 +153,7 @@ static int loopback_xmit(struct sk_buff
lb_stats->tx_packets++;
put_cpu();
- netif_rx(skb);
+ netif_rx_ni(skb);
return(0);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-21 7:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-19 8:03 [ Patch ]: Fix loopback communication latency bug yangyi
2005-04-21 7:26 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®