This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Call for testers: libiberty/physmem.c


On Mon, Feb 24, 2003 at 06:34:31PM -0800, Zack Weinberg wrote:

 > I have a theory.
 > 
 > My theory is that, on Darwin, RLIMIT_DATA is applied only to memory
 > allocation via brk(), but both malloc() and ggc-page.c are getting
 > their memory from mmap() or equivalent.  Possibly malloc uses the real
 > Mach memory-allocation primitive, whose name I do not remember?

This is a good theory.  Anonymous mmap pages were mis-accounted in Mach VM
and in NetBSD's UVM for a while.

-- 
        -- Jason R. Thorpe <thorpej at wasabisystems dot com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]