Call for testers: libiberty/physmem.c

Jason R Thorpe thorpej@wasabisystems.com
Tue Feb 25 03:06:00 GMT 2003


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@wasabisystems.com>



More information about the Gcc mailing list