[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081121.154927.230877589.davem@davemloft.net>
Date: Fri, 21 Nov 2008 15:49:27 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: use net_eq() in INET_MATCH and INET_TW_MATCH
From: Eric Dumazet <dada1@...mosbay.com>
Date: Fri, 21 Nov 2008 23:31:25 +0100
> 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>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists