commit | 0aad5689837c882d2539f50f42f686b74046c0a0 | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Fri Nov 28 11:53:57 2014 +0100 |
committer | David Vrabel <david.vrabel@citrix.com> | Thu Dec 04 14:09:09 2014 +0000 |
tree | 5367d28f3b43ed9dba583106ffc2364e3ef67c23 | |
parent | 792230c3a66b3d17d6dcca712866d24f2283d4a6 [diff] |
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>