Heap allocation on Linux
Nathan Myers
ncm-nospam@cantrip.org
Mon Dec 6 19:55:00 GMT 2004
On Mon, Dec 06, 2004 at 08:09:16PM +0100, Jean-Eric wrote:
> The problem is:
> - Allocating block A (brk() is called to extend virtual address space)
> [...]
> - Mem used is X
> - Releasing block A
> [...]
> - Mem used is still X
> ... What would be good is a mmap() based allocator:
> - Allocate an mmap chunk
> - Allocate from it
> - munmap it when all blocks are freed
I'm working on something like that, but slowly. Is there any money
available? I know people who work faster than I can find time for.
Nathan Myers
ncm@cantrip.org
More information about the Libstdc++
mailing list