qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G suppor


From: Jamie Lokier
Subject: Re: [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support
Date: Fri, 1 Feb 2008 17:35:40 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Robert William Fuller wrote:
> Linux doesn't commit mapped memory until it's faulted.  As for other 
> platforms, who knows?

Correction: most Linux installations don't commit mapped memory until
it's faulted.  A few do, as a matter of policy (it depends on kernel
settings), so that applications won't randomly crash when too much
memory is faulted, but will return 0 from malloc() earlier.

For those few systems, use MAP_NORESERVE if you still need to allocate
the address space.

-- Jamie




reply via email to

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