[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <492736BD.5040508@cosmosbay.com>
Date: Fri, 21 Nov 2008 23:31:25 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>
CC: Linux Netdev List <netdev@...r.kernel.org>
Subject: [PATCH] net: use net_eq() in INET_MATCH and INET_TW_MATCH
We can avoid some useless instructions if !CONFIG_NET_NS
Because of RCU, we use INET_MATCH or INET_TW_MATCH twice
for the found socket, so thats six instructions less per
incoming TCP packet.
Yet another tbench speedup :)
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
View attachment "INET_MATCH.patch" of type "text/plain" (2135 bytes)
Powered by blists - more mailing lists