DORMANTno replies

[PATCH 0/2] fib semantic matching

From: David Miller <davem@davemloft.net>
Date: 2011-03-07 23:12:56

fib_semantic_match() creates unnecessary overhead on route lookups
for two reasons:

1) It does type validation at run time instead of when we insert
   the route.

2) Argument passing is expensive because it does it's work as
   a seperate function.

So these two patches move type validation into fib_create_info(),
and then we inline fib_semantic_match() completely into check_leaf().

This is good for 50+ cycle gain on output route lookups on Niagara2.

Signed-off-by: David S. Miller <davem@davemloft.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help