Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jan 2008 15:23:52 -0700
From:      Scott Long <scottl@samsco.org>
To:        =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no>
Cc:        freebsd-current@freebsd.org, Jason Evans <jasone@freebsd.org>
Subject:   Re: sbrk(2) broken
Message-ID:  <477D6078.5030805@samsco.org>
In-Reply-To: <863ateemw2.fsf@ds4.des.no>
References:  <477C82F0.5060809@freebsd.org> <863ateemw2.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> Jason Evans <jasone@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@ 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?477D6078.5030805>