]> xenbits.xensource.com Git - qemu-xen-4.2-testing.git/commit
mapcache: remember the last page address rather then the last address_index
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 21 Jun 2011 17:05:10 +0000 (18:05 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 21 Jun 2011 17:05:10 +0000 (18:05 +0100)
commite3073b9dbf3217f619a4537197067231111d400e
treeb4099a4199fdb6ce98c73dbaa43235a0e766e54a
parentc60ac50bbdeaa049ac34a4508b79eed9d6efaff3
mapcache: remember the last page address rather then the last address_index

A single address_index corresponds to multiple pages that might or
might not be mapped.  It is better to just remember the last page
address for the sake of this optimization, so that we are sure that it
is mapped.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen_machine_fv.c