[Top][All Lists]
[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
- [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, (continued)
- [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, Avi Kivity, 2008/02/01
- [Qemu-devel] Re: [kvm-devel] [PATCH 1/6] Use correct types to enable > 2G support, Anthony Liguori, 2008/02/01
- Re: [Qemu-devel] Re: [kvm-devel] [PATCH 1/6] Use correct types to enable > 2G support, Ian Jackson, 2008/02/01
- Re: [kvm-devel] [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, Anthony Liguori, 2008/02/01
- Re: [kvm-devel] [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, Daniel P. Berrange, 2008/02/01
- Re: [kvm-devel] [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, Anthony Liguori, 2008/02/01
- Re: [kvm-devel] [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, Paul Brook, 2008/02/01
- Re: [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, Robert William Fuller, 2008/02/01
- Re: [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, M. Warner Losh, 2008/02/01
- Re: [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, Philip Boulain, 2008/02/01
- Re: [Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support,
Jamie Lokier <=
[Qemu-devel] Re: [PATCH 1/6] Use correct types to enable > 2G support, Paul Brook, 2008/02/01
[Qemu-devel] Re: [kvm-devel] [PATCH 1/6] Use correct types to enable > 2G support, Anthony Liguori, 2008/02/01