Re: [PATCH2 1/1] network memory allocator.

2006-08-16 Thread Evgeniy Polyakov
On Wed, Aug 16, 2006 at 09:57:12AM -0700, Stephen Hemminger ([EMAIL PROTECTED]) wrote: > IMHO the network memory allocator is being a little too focused on one > problem, > rather than looking at a general enhancement. > > Have you looked into something like the talloc used by Samba (and others)

Re: [PATCH2 1/1] network memory allocator.

2006-08-16 Thread Stephen Hemminger
IMHO the network memory allocator is being a little too focused on one problem, rather than looking at a general enhancement. Have you looked into something like the talloc used by Samba (and others)? http://talloc.samba.org/ http://samba.org/ftp/unpacked/samba4/source/lib/talloc/t

[PATCH2 1/1] network memory allocator.

2006-08-16 Thread Evgeniy Polyakov
Hello. Network tree allocator can be used to allocate memory for all network operations from any context. Changes from previous release: * added dynamically grown cache * changed some inline issues * reduced code size * removed AVL tree implementation from the sources * changed minimum alloc