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] Add SCHEDOP_block_on

On Thu, 2006-03-16 at 11:34 +0000, Keir Fraser wrote:
> Yes, you make a very good point about using jiffies. I've checked in a 
> fix to use gettimeofday instead, which does continue to work even with 
> interrupts disabled.
> 
> Also, the timeout of 5s is arbitrary. We could make it rather less if 
> you think that makes sense.

I think gettimeofday will work fine. I think the timeout of 5s should
probably be less, but I've not done any kind of study to determine the
best time. Having the interrupts disabled for any large amount of time
is probably a bad idea... I would think that 1 or 2 seconds maximum
would be better. There should be no reason that the pci backend should
take longer than that to complete a request (unless there's some Xen
scheduling concern I'm not aware of).

Ryan


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