WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Use a single mmap interface in libxc

To: Patrick Colp <Patrick.Colp@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Use a single mmap interface in libxc
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 20 Jul 2009 10:38:08 +0100
Cc:
Delivery-date: Mon, 20 Jul 2009 02:38:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8e1301247d784ffb98b0.1248082072@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoJHHW4UyhLu+zhRECMvmrJuP1ZYAAAVQ36
Thread-topic: [Xen-devel] [PATCH] Use a single mmap interface in libxc
User-agent: Microsoft-Entourage/12.19.0.090515
On 20/07/2009 10:27, "Patrick Colp" <Patrick.Colp@xxxxxxxxxx> wrote:

> # HG changeset patch
> # User Patrick Colp <Patrick.Colp@xxxxxxxxxx>
> # 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>