cvs commit: src/lib/libc/stdlib malloc.3 malloc.c
Jason Evans
jasone at FreeBSD.org
Thu Jan 3 15:22:13 PST 2008
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
More information about the cvs-src
mailing list