Re: sbrk(2) broken

From: Scott Long <scottl_at_samsco.org>
Date: Thu, 03 Jan 2008 15:23:52 -0700
Dag-Erling Smørgrav wrote:
> Jason Evans <jasone_at_freebsd.org> writes:
>> [sbrk is broken]
> 
> The real question is why we would revert perfectly good code (jemalloc)
> from using a modern interface to using one that has been obsolete for
> twenty years, and marked as such in the man page for seven years.
> 
> If rwatson_at_ wants malloc() to respect resource limits, he can bloody
> well fix mmap().  Until he does, the datasize limit is a joke anyway, as
> anyone can circumvent it by either using mmap() instead of malloc() or
> setting _malloc_options before calling malloc().
> 

That is a pretty damning argument in my mind.  Why make such a major 
change right before the release when it's effectively useless?

Scott
Received on Thu Jan 03 2008 - 21:24:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:24 UTC