On Sun, Nov 28, 2010 at 06:51:45PM -0500, Ted Unangst wrote:
> What follows is a somewhat older mail I had forgotten about.  It's 
> suddenly become more interesting to be because I was playing around with 
> jruby which requires a big heap size.  It pisses me off to own a 3GB 
> laptop and only be able to use 1GB of that memory.
> 
> This does 2.5 things.
> 
> 1.  If uvm_mmap fails to find memory in the normal mmap area, go back
> again and look for memory somewhere else (brk).  We only do this after
> failure, to preserve the brk space as long as possible.
> 
> 2.  Distinguish the two meanings of MAXDSIZ.  Use BRKSIZ in more places (I
> think this technically fixes a bug on vax) and add it to i386.
> 
> 2.5.  Up i386 MAXDSIZ to 2G.
> 
> End effect:  You can fsck a much larger filesystem now.  This doesn't
> change memory layout or allocation policy for any existing program, but
> will let you throw more memory at programs that don't currently run.

Or probably allows one to build debug-enabled monsters like firefox^Wmozilla
or webkit on i386.. which currently ld fails to link due to object sizes.
if so, i'd welcome that.

Landry

Reply via email to