diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-09-22 18:31:44 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-09-22 18:31:44 +0100 |
commit | 47cb1570ad6db5226334ab66cd2c0593ee719b53 (patch) | |
tree | f5c35eee017f03e37861865efc6aa74b004e56cc /tools/misc/xen-hvmctx.c | |
parent | 1f6bf99c22ce2e13d09e24431688679a96be36a0 (diff) | |
download | xen-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