> "Simon Marlow" <[EMAIL PROTECTED]> writes:
> 
> > The problem is that GHC is asking for memory at a particular address
> > (0x50000000) and the kernel is returning memory elsewhere 
> that doesn't
> > satisfy our aligment constraints (1M aligned).  We don't 
> particularly
> > care where we get memory from, but it must be properly aligned.
> 
> Can you just mmap more memory than you need (an extra megabyte) and
> unmap the portions that aren't correctly aligned?  (To avoid the
> overhead, you could do this only when a correctly-sized mmap gave you
> unaligned memory.)

Yes, we should do something like that.  I still need a test case
though...

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to