Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jan 2008 20:21:01 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Jason Evans <jasone@freebsd.org>
Cc:        freebsd-current@freebsd.org, Poul-Henning Kamp <phk@FreeBSD.org>
Subject:   Re: sbrk(2) broken
Message-ID:  <863ateemw2.fsf@ds4.des.no>
In-Reply-To: <477C82F0.5060809@freebsd.org> (Jason Evans's message of "Wed\, 02 Jan 2008 22\:38\:40 -0800")
References:  <477C82F0.5060809@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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().

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?863ateemw2.fsf>