Date: Thu, 3 Jan 2008 23:22:13 +0000 (UTC) From: Jason Evans <jasone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib malloc.3 malloc.c Message-ID: <200801032322.m03NMDI6073073@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2008-01-03 23:22:13 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.3 malloc.c Log: Enable both sbrk(2)- and mmap(2)-based memory acquisition methods by default. This has the disadvantage of rendering the datasize resource limit irrelevant, but without this change, legitimate uses of more memory than will fit in the data segment are thwarted by default. Fix chunk_alloc_mmap() to work correctly if initial mapping is not chunk-aligned and mapping extension fails. Revision Changes Path 1.76 +12 -12 src/lib/libc/stdlib/malloc.3 1.161 +8 -7 src/lib/libc/stdlib/malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801032322.m03NMDI6073073>