| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 10/46] xen/sched: add scheduler helpers hiding vcpu
 On 27.09.19 10:52, Dario Faggioli wrote: On Fri, 2019-09-27 at 09:00 +0200, 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() (returns true when any of its vcpus is online) - unit_runnable() like vcpu_runnable() (returns true if any of its vcpus is runnable) - sched_set_res() to set the current scheduling resource of a unit - sched_unit_cpu() to get the current processor of a unit (returns Yes, had seen that already. 
 Thanks, 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  |