qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH, v2] Rewrite mmap_find_vma() to work fine on 64-


From: Kirill A. Shutemov
Subject: Re: [Qemu-devel] [PATCH, v2] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets
Date: Sat, 1 Nov 2008 18:55:44 +0200
User-agent: Mutt/1.5.18 (2008-05-29)

On Sat, Nov 01, 2008 at 04:51:10PM +0000, Jamie Lokier wrote:
> Kirill A. Shutemov wrote:
> > +        /* Unmap and try again with new page */
> > +        munmap(ptr, size);
> >          addr += qemu_host_page_size;
> 
> Won't this be rather slow if it has to skip a large mapped area, one
> page at a time?

If we skip more than one page we increase memory fragmentation.

-- 
Regards,  Kirill A. Shutemov
 + Belarus, Minsk
 + ALT Linux Team, http://www.altlinux.com/

Attachment: signature.asc
Description: Digital signature


reply via email to

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