aboutsummaryrefslogtreecommitdiffstats
path: root/tools/misc/xen-hvmctx.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-09-22 18:31:44 +0100
committerJan Beulich <jbeulich@suse.com>2011-09-22 18:31:44 +0100
commit47cb1570ad6db5226334ab66cd2c0593ee719b53 (patch)
treef5c35eee017f03e37861865efc6aa74b004e56cc /tools/misc/xen-hvmctx.c
parent1f6bf99c22ce2e13d09e24431688679a96be36a0 (diff)
downloadxen-47cb1570ad6db5226334ab66cd2c0593ee719b53.tar.gz
xen-47cb1570ad6db5226334ab66cd2c0593ee719b53.tar.bz2
xen-47cb1570ad6db5226334ab66cd2c0593ee719b53.zip
VT-d: eliminate a mis-use of pcidevs_lock
dma_pte_clear_one() shouldn't acquire this global lock for the purpose of processing a per-domain list. Furthermore the function a few lines earlier has a comment stating that acquiring pcidevs_lock isn't necessary here (whether that's really correct is another question). Use the domain's mappin_lock instead to protect the mapped_rmrrs list. Fold domain_rmrr_mapped() into its sole caller so that the otherwise implicit dependency on pcidevs_lock there becomes more obvious (see the comment there). Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'tools/misc/xen-hvmctx.c')
0 files changed, 0 insertions, 0 deletions