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] xc_map_foreign_pages(),a convenient alternative

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Markus Armbruster <armbru@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xc_map_foreign_pages(),a convenient alternative to xc_map_foreign_batch()
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 06 Sep 2007 09:47:24 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Sep 2007 01:48:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B2202@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acfv2xh4NOil54xCRh+jHAGARhg8lAAe7JVAAALwKNQ=
Thread-topic: [Xen-devel] [PATCH] xc_map_foreign_pages(),a convenient alternative to xc_map_foreign_batch()
User-agent: Microsoft-Entourage/11.3.6.070618
On 6/9/07 08:44, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> Just curious why this can't be fixed in kernel driver? Is there case that
> caller is tolerable with partial mapping?

We would need an extra command in the kernel driver, as the current
partial-success semantics are used appropriately by some callers. Doing it
in libxc avoids requiring a kernel upgrade to fix this issue.

 -- Keir



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