[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit
From: |
Martin Mohring |
Subject: |
Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets |
Date: |
Mon, 08 Dec 2008 21:59:07 +0100 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081112) |
Kirill A. Shutemov wrote:
> On Wed, Dec 03, 2008 at 02:50:57PM +0200, Kirill A. Shutemov wrote:
>
>> On Wed, Dec 03, 2008 at 12:34:18PM +0000, Paul Brook wrote:
>>
>>> On Wednesday 03 December 2008, Kirill A. Shutemov wrote:
>>>
>>>> qemu's page table can be incomple if /proc/self/maps is unavailable or
>>>> host allocating a memory with mmap(), so we can't use it to find free
>>>> memory area.
>>>>
>>> Do we really care? Do such systems exist?
>>>
>> I use qemu-arm to build packages in restricted environment -- in hasher[1].
>> hasher mounts /proc only for packages that really need it for building
>> (java, for example).
>>
>> [1] http://en.altlinux.org/Hasher
>>
>
> Paul, do you have any objection or not? I really want to see it into
> upstream.
>
>
One question I have though... What happens, if a start up script (ini
script) run in qemu linux-user changes /proc/sys/vm/mmap_min_addr from 0
to say 65536? Can this ever work, without later memory allocs with
mmap() failing?
Martin
- Re: [Qemu-devel] [PATCH] mremap(): handle MREMAP_FIXED and MREMAP_MAYMOVE correctly, (continued)
- Re: [Qemu-devel] [PATCH] mmap: add check if requested memory area fits target address space, Aurelien Jarno, 2008/12/08
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Paul Brook, 2008/12/03
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Christoph Egger, 2008/12/03
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Paul Brook, 2008/12/03
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Kirill A. Shutemov, 2008/12/03
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Kirill A. Shutemov, 2008/12/08
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Martin Mohring, 2008/12/08
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets,
Martin Mohring <=
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Kirill A. Shutemov, 2008/12/08
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Martin Mohring, 2008/12/08
- [Qemu-devel] qemu and glibc version, Kirill A. Shutemov, 2008/12/08
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Robert Reif, 2008/12/09
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Kirill A. Shutemov, 2008/12/09
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Paul Brook, 2008/12/08
- Re: [Qemu-devel] [PATCH] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets, Kirill A. Shutemov, 2008/12/09
- Re: [Qemu-devel] [PATCH] linux-user: Fix h2g usage in page_find_alloc, Edgar E. Iglesias, 2008/12/06
- Re: [Qemu-devel] [PATCH] linux-user: Fix h2g usage in page_find_alloc, Kirill A. Shutemov, 2008/12/06
- Re: [Qemu-devel] [PATCH] linux-user: Fix h2g usage in page_find_alloc, Aurelien Jarno, 2008/12/08