bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] malloc strategies


From: Bruno Haible
Subject: Re: [bug-gnulib] malloc strategies
Date: Fri, 2 Feb 2007 20:22:07 +0100
User-agent: KMail/1.9.1

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

[Prev in Thread] Current Thread [Next in Thread]