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

[Xen-devel] do_grant_table_op()'s input array size limitation

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] do_grant_table_op()'s input array size limitation
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Thu, 02 Jul 2009 08:23:53 +0100
Delivery-date: Thu, 02 Jul 2009 00:24:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Am I right in understanding that the restriction on 512 entries to be passed
in is solely to cap the time that's being spent in the hypervisor without being
able to service softirq requests as well as while the domain lock is being held?
If that's the case, eliminating that restriction could be fairly strait forward 
by
putting the majority of the function body in a loop or, perhaps even better,
calling hypercall_preempt_check() every so many entries and using the
continuation mechanism.

Thanks, Jan


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

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