apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <I...@cnet.com>
Subject RE: Memory management requirements buckets/brigades, new pools
Date Sun, 26 Aug 2001 15:42:48 GMT
Hi Sander.
is it possible to post patches from the most recent CVS version.
that would make it much easier for people to apply them

Thanks
..Ian
On Sun, 2001-08-26 at 08:29, Sander Striker wrote:
> [this time including the attachment...]
> 
> > Hi,
> > 
> > It seems that the memory management requirements for
> > buckets is that they have to be able to control their
> > own lifetime.  In other words, they need to be allocated
> > and freed on an individual basis.
> > It seems that their lifetime is bound by the lifetime
> > of the connection.
> > 
> > The above let me believe that buckets need a free
> > function to complement apr_palloc.  Hence the
> > attached patch that introduces apr_pfree *).  I know
> > this patch introduces some extra overhead, although
> > not much, which could be unacceptable.  OTOH would
> > this make it possible to use one memory management
> > scheme throughout apache...
> > 
> > Maybe something to consider, maybe not.  I don't
> > even know if these are the criteria or not ;)
> > 
> > 
> > Sander
> > 
> > *) patch is against the recently posted possible
> >    replacement code for pools.
> 
-- 
Ian Holsman
Performance Measurement & Analysis
CNET Networks    -    415 364-8608

Mime
View raw message