|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v3 1/1] xen: sched: convert RTDS from time to event driven model
On 1/21/2016 11:06 PM, Tianyang Chen wrote: Well, I'm just gonna comment on couple things here. The major difference between this patch and the previous one is the addition of a runningq, which leads toBudget replenishment and enforcement are separated by adding a replenishment timer, which fires at the next most imminent release time of all runnable vcpus. A new runningq has been added to keep track of all vcpus that are on pcpus. The following functions have major changes to manage the runningq and replenishment extra code in context_save().Since the scheduler doesn't run until the first vcpu wakes up, wake() does some of the timer stuff, in additional to the logic in the handler. It works nicely especially when a vcpu wakes up and has the earliest next release time. Is it better to re-use q-elem so extra helper functions can be avoided? Maybe another flag thing that shows which q a vcpu is on? I kinda just stick this in based on previous discussion on RTDS busy-waiting. Here is a lock for protecting queues. Correct me if I'm wrong, since in
alloc_pdata(), the private lock points to
the global system lock, I just assume there is no difference here. -- Tianyang Chen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |