Thread (9 messages) flat view 9 messages, 4 authors, 2008-01-15

Re: [PATCH 4/9] statistics improvements

From: David Miller <davem@davemloft.net>
Date: 2008-01-13 05:44:18

From: Stephen Hemminger <redacted>
Date: Sat, 12 Jan 2008 21:33:16 -0800
The size field is added to /proc/net/fib_triestat that was the point.
Not from what I can see.

davem@sunset:~/src/GIT/net-2.6.25$ git grep -e "->size" net/ipv4/fib_trie.c
net/ipv4/fib_trie.c:	t->size++;
net/ipv4/fib_trie.c:	t->size--;
davem@sunset:~/src/GIT/net-2.6.25$ git grep -e "\.size" net/ipv4/fib_trie.c
davem@sunset:~/src/GIT/net-2.6.25$ 

Nothing uses the field, it is merely incremented and decremented.

trie_show_stats() and trie_show_usage() do not access this field.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help