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

[Xen-devel] what's the equivalent function to "schedule_timeout" in xen kernel?



Hi all:
  I'd like to SLEEP a while in xen kernel during VMEXIT,  the easiest way is to 
call "udelay" or "mdelay" there. However, these 2 functions use busy wait to 
sleep, which is a waste.
  In linux kernel, there's a function named  'schedule_timeout', allowing the 
CPU to run other tasks during SLEEPING. 
  So, is there any equivalent function to "schedule_timeout" in xen kernel ? 
  Thanks in advance.
  

Oscar.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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