[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: heap limits: mmap(2) vs. break(2) on i386
From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs () spoerlein ! net>
Date: 2009-11-29 17:06:08
Message-ID: 20091129170608.GN3406 () acme ! spoerlein ! net
[Download RAW message or body]
On Fri, 27.11.2009 at 18:22:38 -0800, Maxim Sobolev wrote:
> Crazy idea, perhaps, but has anyone considered wrapping up sbrk(2) into
> mmap(2), so that there is only one memory pool to draw from? Switch to
> 64-bit certainly helps, however there are lot of 32-bit machines hanging
> around and we will see them for a while in the embedded space. Certainly
> current situation with two separate sources of heap memory is not normal.
Alternative and very low tech test:
- Remove sbrk() from libc and /usr/include
- Run port test build
- ???
- PROFIT!
It shall be interesting to see which ports blow up thanks to sbrk()
missing.
Regards,
Uli
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic