[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-arm fails on test-mmap - take #2
From: |
Jan-Simon Möller |
Subject: |
Re: [Qemu-devel] qemu-arm fails on test-mmap - take #2 |
Date: |
Mon, 10 Aug 2009 15:52:55 +0200 |
User-agent: |
KMail/1.9.9 |
Am Montag 10 August 2009 08:33:38 schrieb Kirill A. Shutemov:
> > Now my question is: how is the data of the already blocked pages
> > processed/aquired ? It seems to me that the pages get "lost" somewhere.
>
> Current mmap() implementation requires /proc to obtain all mappings.
>
> I have alternative implementation of mmap_find_vma() which doesn't
> require /proc:
>
> http://www.archivum.info/address@hidden/2008-10/01118/%5BQemu-devel%
>5D_%5BPATCH,_v2%5D_Rewrite_mmap_find_vma%28%29_to_work_fine_on_64-bit_hosts_
>with_32-bit_targets
>
> It is probably out of date.
This does the trick ! I've attached a version against trunk.
@Riku: can we apply this to git ?
Acked-by: Jan-Simon Möller <address@hidden>
Original post:
http://www.archivum.info/qemu-devel%40nongnu.org/2008-10/01118/[Qemu-devel]_[PATCH,_v2]_Rewrite_mmap_find_vma()_to_work_fine_on_64-bit_hosts_with_32-bit_targets
Attachement:
Patch rebased to trunk.
Best,
Jan-Simon
qemu-0.11-git-user-linux-mmap_find_vma.patch
Description: Text Data