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/
Home Products Support Community News


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

To: Jan Beulich <JBeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] do_grant_table_op()'s input array size limitation
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 02 Jul 2009 08:37:12 +0100
Delivery-date: Thu, 02 Jul 2009 00:37:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A4C7CA9020000780000887C@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/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: Acn65hxl5z40wzP5TCilESgC8OhfowAAc0uM
Thread-topic: [Xen-devel] do_grant_table_op()'s input array size limitation
User-agent: Microsoft-Entourage/
On 02/07/2009 08:23, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

> 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.

Yes, true.

 -- Keir

Xen-devel mailing list