Re: [PATCH V3 6/8] xen: Hide get_phys_to_machine() to be able to tune common path

2014-11-13 Thread Konrad Rzeszutek Wilk
On November 13, 2014 4:15:26 AM EST, Juergen Gross wrote: >On 11/12/2014 11:18 PM, Konrad Rzeszutek Wilk wrote: >> On Tue, Nov 11, 2014 at 06:43:44AM +0100, Juergen Gross wrote: >>> Today get_phys_to_machine() is always called when the mfn for a pfn >>> is to be obtained. Add a wrapper __pfn_to_mf

Re: [PATCH V3 6/8] xen: Hide get_phys_to_machine() to be able to tune common path

2014-11-13 Thread Juergen Gross
On 11/12/2014 11:18 PM, Konrad Rzeszutek Wilk wrote: On Tue, Nov 11, 2014 at 06:43:44AM +0100, Juergen Gross wrote: 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_machi

Re: [PATCH V3 6/8] xen: Hide get_phys_to_machine() to be able to tune common path

2014-11-12 Thread Konrad Rzeszutek Wilk
On Tue, Nov 11, 2014 at 06:43:44AM +0100, Juergen Gross wrote: > 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 s/when/where/ > soon as the

Re: [Xen-devel] [PATCH V3 6/8] xen: Hide get_phys_to_machine() to be able to tune common path

2014-11-11 Thread David Vrabel
On 11/11/14 05:43, Juergen Gross wrote: > 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 ha

[PATCH V3 6/8] xen: Hide get_phys_to_machine() to be able to tune common path

2014-11-10 Thread Juergen Gross
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 ---