[IPV4] fib_trie: put leaf nodes in a slab cache
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Wed, 23 Jan 2008 05:51:50 +0000 (21:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:56 +0000 (15:10 -0800)
commitbc3c8c1e02ae89668239742fd592f21e1998fa46
tree48f941a414c89d6e3b070f5ad3a4976a02ea9004
parenta1f6f5a7689098f01d9b7b7181795ee78563ce37
[IPV4] fib_trie: put leaf nodes in a slab cache

This improves locality for operations that touch all the leaves.  Save
space since these entries don't need to be hardware cache aligned.

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c