httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: graceful restarts, take 5
Date Tue, 22 Apr 1997 20:57:47 GMT
On Tue, 22 Apr 1997, Dean Gaudet wrote:
> For take 6 I am going to include Roy's second suggested change to
> new_block().  But I'm going to skip the ap_foo() cleanups suggested by Jim
> and submit them post 1.2. 

Roy's change will fail on large allocations because the block needs at least
a few bytes to fit a block header and possibly a pool header.  So I'm
reverting to something closer to my original change:

  /* Nope. */

    min_size += BLOCK_MINFREE;
    return malloc_block((min_size > BLOCK_MINALLOC) ? min_size : BLOCK_MINALLOC);

Dean


Mime
View raw message