[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.