[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080114.232816.102558214.davem@davemloft.net>
Date: Mon, 14 Jan 2008 23:28:16 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: shemminger@...ux-foundation.org, robert.olsson@....uu.se,
netdev@...r.kernel.org, stephen.hemminger@...tta.com
Subject: Re: [PATCH] [IPV4] fib_trie: size and statistics
From: Eric Dumazet <dada1@...mosbay.com>
Date: Tue, 15 Jan 2008 07:55:57 +0100
> Keeping a 'size' counter is not necessary, since trie_collect_stats() must go
> through all the tree and get this information for free.
>
> This 'size' field only slows down inserts/deletes and dirty a cacheline that
> readers will hit.
Good point, we can do this better in a follow-on patch.
--
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