|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Sched_op hypercall small questions
On 19/09/2011 22:21, "Daniel Castro" <evil.dani@xxxxxxxxx> wrote:
> Greetings all.
>
> Some small question regarding schedule poll operation hypercall.
>
> 1. struct sched_poll poll.timeout is measured in what unit of time?
> Secs, ms? ns?
It is an absolute system time (rather than a duration), in nanoseconds.
> 2. After issuing the hypercall_sched_op(SCHEDOP_poll, &poll); if no
> timeout is used in poll struct how long will I yield the CPU?
Until one of the specified event channel ports is pending.
> 3. If I issue the hypercall and the event never comes is it possible
> to to yield the CPU for ever?
Yes, if you do not specify a timeout.
-- Keir
> Thanks you very much for answering these questions.
>
> Daniel Castro
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|