|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 10/48] xen/sched: add scheduler helpers hiding vcpu
On 04.09.19 16:49, Jan Beulich wrote: On 09.08.2019 16:57, Juergen Gross wrote:Add the following helpers using a sched_unit as input instead of a vcpu: - is_idle_unit() similar to is_idle_vcpu() - is_unit_online() similar to is_vcpu_online() - unit_runnable() like vcpu_runnable()Since for vCPU-s within a unit the return values can vary, I think it would be nice if you made explicit here what the unit-wide return values are meant to mean in such a case (and why the chosen alternative is better than the other one).- sched_set_res() to set the current processor of an unit - sched_unit_cpu() to get the current processor of an unitWhat is "the processor of a unit" when there are multiple entities within a unit, and hence multiple processors needed in order to run the unit? I will add short descriptions to the commit message. Juergen _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |