httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <>
Subject More on malloc stuff
Date Sat, 27 Dec 1997 17:16:22 GMT
What I'd like to work on is kinda represented by the below from

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

IMO malloc_block should only do malloc's of some integer number of
the natural pagesize for the machine in question. As Dean says,
it can make a difference performance-wise if the block is aligned
on it's natural border.
      Jim Jagielski            |       jaguNET Access Services           |
            "Look at me! I'm wearing a cardboard belt!"

View raw message