summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/xen-ops.h
diff options
context:
space:
mode:
authorJuergen Gross2014-11-28 11:53:57 +0100
committerDavid Vrabel2014-12-04 15:09:09 +0100
commit0aad5689837c882d2539f50f42f686b74046c0a0 (patch)
tree5367d28f3b43ed9dba583106ffc2364e3ef67c23 /arch/x86/xen/xen-ops.h
parentx86: Introduce function to get pmd entry pointer (diff)
downloadkernel-qcow2-linux-0aad5689837c882d2539f50f42f686b74046c0a0.tar.gz
kernel-qcow2-linux-0aad5689837c882d2539f50f42f686b74046c0a0.tar.xz
kernel-qcow2-linux-0aad5689837c882d2539f50f42f686b74046c0a0.zip
xen: Hide get_phys_to_machine() to be able to tune common path
Today get_phys_to_machine() is always called when the mfn for a pfn is to be obtained. Add a wrapper __pfn_to_mfn() as inline function to be able to avoid calling get_phys_to_machine() when possible as soon as the switch to a linear mapped p2m list has been done. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'arch/x86/xen/xen-ops.h')
0 files changed, 0 insertions, 0 deletions