[quagga-dev 3188] Re: [PATCH] lib/buffer.c: keep one buffer_data to avoid malloc/free thrashing
paul at clubi.ie
Wed Apr 13 14:14:47 BST 2005
On Tue, 12 Apr 2005, Paul Jakma wrote:
> On Tue, 12 Apr 2005, Andrew J. Schorr wrote:
>> Are there actually other hotspots that we are worried about?
> I honestly dont know.
Ah, just remembered - thread.c pulls the same 'keep a spare' trick,
see the unused list.
- a bit of generic complexity in memory.c
(remove any existing optimisations like the thread.c unused list)
- Add 'keep a spare' wherever needed.
BTW, CVS is running nicely with your zclient cleanup + memory 'quick
Paul Jakma paul at clubi.ie paul at jakma.org Key ID: 64A2FF6A
"Do not meddle in the affairs of wizards, for you are crunchy and good
More information about the Quagga-dev