[M3commit] CVS Update: cm3

Tony Hosking hosking at cs.purdue.edu
Mon Nov 17 03:16:44 CET 2008


Using sbrk instead of mmap is a reasonable fix for now.  I am  
disappointed that mmap is having such random behavior on AMD64_LINUX.   
Weird!

On 16 Nov 2008, at 18:57, Jay Krell wrote:

> CVSROOT:	/usr/cvs
> Changes by:	jkrell at birch.	08/11/16 18:57:52
>
> Modified files:
> 	cm3/m3-comm/netobj/src/: netobj.tmpl
> 	cm3/m3-libs/m3core/src/runtime/POSIX/: RTOS.m3 m3makefile
> 	cm3/m3-libs/m3core/src/unix/linux-libc6/: Unix.i3
> 	cm3/m3-sys/cminstall/src/config-no-install/: PPC_LINUX
> 	                                             cm3cfg.common
> 	cm3/scripts/python/: pylib.py
> Added files:
> 	cm3/m3-libs/m3core/src/runtime/POSIX/: RTOSbrk.m3 RTOSmmap.m3
>
> Log message:
> 	use sbrk instead of mmap on AMD64_LINUX to allocate memory, so that
> 	it has a tendency to say contiguous, since we allocate bookkeeping
> 	per page and otherwise run out of memory
> 	
> 	netobj.tmp: go back a version, since it was working around out of  
> memory
> 	from "mmap vs. sbrk"
> 	
> 	pylib.py: fix PPC_LINUX bootstrap, put more files in bootstrap
> 	cm3cfg.common: don't overwrite preceding GNU_MAKE




More information about the M3commit mailing list