x86/mm: avoid locked lookups in shadow emulation.
authorTim Deegan <tim@xen.org>
Thu, 21 Feb 2013 17:41:26 +0000 (17:41 +0000)
committerTim Deegan <tim@xen.org>
Thu, 21 Feb 2013 17:41:34 +0000 (17:41 +0000)
commit7f05d3ff7692574f40d0b337d767a216f347dcdb
tree2016807d750cc6295515d8763c2a223acec680e4
parent1ac127193dafb4b5a303e1b0180188141509df3e
x86/mm: avoid locked lookups in shadow emulation.

Use get_page_from_gfn() instead of get_gfn(), avoiding taking the p2m
lock in the common case.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/multi.c