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

Re: [Xen-devel] [PATCH v9]xen: sched: convert RTDS from time to event driven model

On 03/16/2016 10:25 AM, Dario Faggioli wrote:
+        if ( curr_on_cpu(vc->processor) == vc &&
>+             ( !list_empty(runq) ) )
So, this is because, since we don't keep the idle vcpus in the
runqueues, we need to catch the case where v is running, but no other
vcpu is waiting on the runqueue in runnable state, is this right?

In any case, parentheses around the second part of the && seems

Yes. If there is no vcpu waiting on the run queue then there is no need to compare deadlines and tickle.


Xen-devel mailing list



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