From: Keir Fraser Subject: Re: [PATCH] Use a single mmap interface in libxc Date: Mon, 20 Jul 2009 10:38:08 +0100 Message-ID: References: <8e1301247d784ffb98b0.1248082072@waitaha.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8e1301247d784ffb98b0.1248082072@waitaha.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Patrick Colp , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 20/07/2009 10:27, "Patrick Colp" wrote: > # HG changeset patch > # User Patrick Colp > # Date 1248081941 -3600 > # Node ID 8e1301247d784ffb98b0721d9f6f46daa0640af1 > # Parent 91407452cdb62f427c74e227956dc34a107cab46 > Use a single mmap interface in libxc. > > This patch modifies xc_map_foreign_range and xc_map_foreign_ranges to call > mmap_map_foreign_batch. This eliminates the need for multiple privcmd mmap > ioctls. Now only IOCTL_PRIVCMD_MMAPBATCH is required. Some explanation of why this is a useful improvement would be nice. -- Keir