[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111122.152734.1823043516337464576.davem@davemloft.net>
Date: Tue, 22 Nov 2011 15:27:34 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: David.Laight@...LAB.COM, eric.dumazet@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH v2] xfrm: optimize ipv4 selector matching
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Tue, 22 Nov 2011 19:46:02 +0300
> Current addr_match() is errh, under-optimized.
>
> Compiler doesn't know that memcmp() branch doesn't trigger for IPv4.
> Also, pass addresses by value -- they fit into register.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Applied, thanks.
--
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