httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: worth fixing "read headers forever" issue?
Date Fri, 02 Jan 1998 22:20:24 GMT

On Fri, 2 Jan 1998, Jim Jagielski wrote:

> How expensive is doing a sbrk(0) ?

Doesn't do what you want on FreeBSD or Linux where anonymous mmap() is
used instead of sbrk() for doing malloc.  This allows them to actually
return memory to the system via munmap when it's deemed appropriate, as
opposed to sbrk().  This is also how gnumalloc works on many systems --
especially for large allocations... 


View raw message