Date: Thu, 21 Feb 2008 17:17:42 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Jason Evans <jasone@freebsd.org> Cc: Igor Sysoev <is@rambler-co.ru>, freebsd-current@FreeBSD.ORG Subject: Re: malloc(3) ignores RLIMIT_DATA Message-ID: <86zltu5lnd.fsf@ds4.des.no> In-Reply-To: <47BB0D29.5080403@freebsd.org> (Jason Evans's message of "Tue\, 19 Feb 2008 09\:08\:57 -0800") References: <20080219151809.GF57366@rambler-co.ru> <47BB0D29.5080403@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jason Evans <jasone@freebsd.org> writes: > Igor Sysoev <is@rambler-co.ru> writes: > > malloc(3) in FreeBSD 7 uses mmap() (then sbrk() on 32-bit platform) > > and ignores RLIMIT_DATA. FreeBSD 8's malloc() can be configured > > to use sbrk() only ("Dm"), but default setting is "DM". > I plan to merge these changes to RELENG_7 shortly after FreeBSD 7.0 is > released. FWIW, I would prefer if sbrk support were simply ripped back out of jemalloc, and the brk() and sbrk() prototypes removed from the system headers to make it impossible for new software to use them. 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?86zltu5lnd.fsf>