diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2011-05-19 18:35:42 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-06-19 04:40:04 +0200 |
commit | c13390cd384a9564e6dded127d01ef0627b6b1c5 (patch) | |
tree | b9d856d3219a4f0039b5b059f0214b4aac225fa2 /block.h | |
parent | b4dd7802cac7749de80ceadd622d4209fc31b507 (diff) |
xen: fix qemu_map_cache with size != MCACHE_BUCKET_SIZE
Fix the implementation of qemu_map_cache: correctly support size
arguments different from 0 or MCACHE_BUCKET_SIZE.
The new implementation supports locked mapcache entries with size
multiple of MCACHE_BUCKET_SIZE. qemu_invalidate_entry can correctly
find and unmap these "large" mapcache entries given that the virtual
address passed to qemu_invalidate_entry is the same returned by
qemu_map_cache when the locked mapcache entry was created.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'block.h')
0 files changed, 0 insertions, 0 deletions