[quagga-dev 3187] Re: [PATCH] lib/buffer.c: keep one buffer_data to avoid malloc/free thrashing
paul at clubi.ie
Wed Apr 13 04:42:57 BST 2005
On Wed, 13 Apr 2005, Paul Jakma wrote:
> Some of the many alloced but 0 cache_used ones could be cases where nothing
> has been deallocated yet.
A wee experiment with bgpd: shutdown the session on peer, quite a few
objects went to cache_used == 3 (hash bucket, bgp nexthop, community,
nexthop, bgp attributes, etc..). Brought the session back up and all
those cached_used went to 0.
So seems to work..
Paul Jakma paul at clubi.ie paul at jakma.org Key ID: 64A2FF6A
Still looking for the glorious results of my misspent youth. Say, do you
have a map to the next joint?
More information about the Quagga-dev