From: David Vrabel Subject: Re: [Xen-devel] [PATCH V3 6/8] xen: Hide get_phys_to_machine() to be able to tune common path Date: Tue, 11 Nov 2014 17:38:02 +0000 Message-ID: <5462497A.1080806@citrix.com> References: <1415684626-18590-1-git-send-email-jgross@suse.com> <1415684626-18590-7-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1415684626-18590-7-git-send-email-jgross@suse.com> Sender: linux-kernel-owner@vger.kernel.org To: Juergen Gross , linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com, x86@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com List-Id: xen-devel@lists.xenproject.org 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 has been done. Reviewed-by: David Vrabel David