From: Ian Campbell Subject: Re: [RFC/PATCH] Improve speed of mapping guest memory into Dom0 Date: Wed, 14 Nov 2012 13:16:38 +0000 Message-ID: <1352898998.3499.17.camel@zakaz.uk.xensource.com> References: <50A37CC7.8050700@citrix.com> <50A397E1.7000602@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50A397E1.7000602@citrix.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: David Vrabel Cc: Mats Petersson , "xen-devel@lists.xen.org" , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Wed, 2012-11-14 at 13:08 +0000, David Vrabel wrote: > > + > > +/* like xen_remap_domain_mfn_range, but does a list of mfn's, > rather > > + * than the, for xen, quite useless, consecutive pages. > > + */ > > /* > * Like xen_remap_domain_mfn_range(), but more efficiently handles > MFNs > * that are not contiguous (which is common for a domain's memory). > */ Can we not fix xen_remap_domain_mfn (and modify the small number of callers to suit) rather than duplicating most of the functionality with a slight difference? Ian.