From: yangyi <yang.yi@bmrtech.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: "Rt-Dev@Mvista. Com" <rt-dev@mvista.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: [ Patch ]: Fix loopback communication latency bug
Date: Tue, 19 Apr 2005 16:03:10 +0800 [thread overview]
Message-ID: <1113897790.4632.161.camel@montavista2> (raw)
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);
}
next reply other threads:[~2005-04-19 8:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-19 8:03 yangyi [this message]
2005-04-21 7:26 ` Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1113897790.4632.161.camel@montavista2 \
--to=yang.yi@bmrtech.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rt-dev@mvista.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®