Date: Thu, 27 Apr 2006 01:03:00 +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.c Message-ID: <200604270103.k3R130wc082492@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jasone 2006-04-27 01:03:00 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Change the semantics of brk_max to dynamically deal with data segment bounds. [1] Modify logic for utilizing the data segment, such that it is possible to create huge allocations there. Shrink the data segment when deallocating a chunk, if it is at the end of the data segment. Rename chunk_size to csize in huge_malloc(), in order to avoid masking a static variable of the same name. [1] Reported by: Paul Allen <nospam@ugcs.caltech.edu> Revision Changes Path 1.125 +83 -71 src/lib/libc/stdlib/malloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604270103.k3R130wc082492>