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] Why gnttab_grant_foreign_access() can only grantaccess f

To: "Randy Thelen" <rthelen@xxxxxxxxxx>, "Lily Huang" <ushuanglily@xxxxxxxxx>
Subject: RE: [Xen-devel] Why gnttab_grant_foreign_access() can only grantaccess for one page?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Fri, 7 Jul 2006 10:55:57 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 07 Jul 2006 02:56:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcahjG2dp8XTING9R0WEbs1a0PnjrAAHttsg
Thread-topic: [Xen-devel] Why gnttab_grant_foreign_access() can only grantaccess for one page?
> Lily Huang wrote:
> 
> > THis seems to be less efficient. Why cannot we allow this function
> > to grant access for mulitiple pages just remap function?
> 
> With what frequency are multiple page grants requested?

You can always use multicalls for batches. In the current usage
scenarios, grant tables are not typically used to map machine contiguous
regions.

Ian

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

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