Andi Kleen wrote:
> For allocating memory that big it would be far better to just use mmap()
> with the full range and let the kernel serve you freshly zeroed memory 
> on demand as you touch it.

It's malloc's job to do that, and glibc's malloc implementation does this.

Do you know of a system where mmap() can give you big chunks and malloc()
can't?

Bruno


Reply via email to