]> git.proxmox.com Git - mirror_qemu.git/commit - xen-mapcache.c
xen: add a lock for the mapcache
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Jan 2015 10:20:56 +0000 (11:20 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 20 Jan 2015 14:24:17 +0000 (14:24 +0000)
commit86a6a9bf551ffa183880480b37c5836d3916687a
tree89b9146905a971666a600c39ba96f15c9907ae24
parent9b6d7b365dc211bbeadb0cf2e7bf1a019001c7f8
xen: add a lock for the mapcache

Extend the existing dummy mapcache_lock/unlock macros to cover all of
xen-mapcache.c.  This prepares for unlocked memory access, when parts
of exec.c will not be protected by the BQL.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen-mapcache.c