From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 05/10] x86/mm: build map_domain_gfn() just once Date: Tue, 20 Oct 2015 13:54:24 +0100 Message-ID: <56263980.5040806@citrix.com> References: <5626340902000078000ACB1F@prv-mh.provo.novell.com> <5626369102000078000ACB63@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZoWQw-0004Du-00 for xen-devel@lists.xenproject.org; Tue, 20 Oct 2015 12:54:30 +0000 In-Reply-To: <5626369102000078000ACB63@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel Cc: George Dunlap , Keir Fraser List-Id: xen-devel@lists.xenproject.org On 20/10/15 11:41, Jan Beulich wrote: > It doesn't depend on GUEST_PAGING_LEVELS. > > Signed-off-by: Jan Beulich > --- > TBD: To ensure no dependency on GUEST_PAGING_LEVELS, would it perhaps > be better to move the function to a file compiled just once? +1 it probably fits best in p2m.c, although none of the surrounding files is a particularly good fit. If there are other generic helpers, it might be worth making a common.c ~Andrew