httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: memory leak in apr_buck_alloc...
Date Tue, 10 Sep 2002 21:20:40 GMT
> From: Bill Stoddard [mailto:bill@wstoddard.com]
> Sent: 10 September 2002 22:23

>> [Moving to dev@apr.apache.org]

[...]
>> I think max_index is misunderstood.  allocator->max_index is the index of
>> the biggest block available.  index = block_size / boundary_size - 1, where
>> boundary_size is 4096.  Keeping track of max_index prevents us from scanning
>> the entire array of free lists (of different block sizes).
> 
> Code comment pretty please? I spent a very small bit of time in the
> allocator code a few months back and gave up :-)

Point taken.  Will do.

Sander


Mime
View raw message