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: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH, v2] Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets
Date: Fri, 14 Nov 2008 13:08:45 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Paul Brook wrote:
> It's a basic binary search. The problem with it being that as with
> any other binary search it relies on being able to do "probes".  In
> this case that involves mapping and unmapping the region, which I'd
> expect to be fairly high overhead.

But much less overhead than probing every page address as the current
linear search does.  The linear algorithm also does a map+unmap in its
probes.  That's the point.

-- Jamie




reply via email to

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