From: Keir Fraser Subject: Re: do_grant_table_op()'s input array size limitation Date: Thu, 02 Jul 2009 08:37:12 +0100 Message-ID: References: <4A4C7CA9020000780000887C@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A4C7CA9020000780000887C@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 02/07/2009 08:23, "Jan Beulich" 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