On Sat, 2019-09-14 at 10:52 +0200, Juergen Gross wrote: > Add an is_running indicator to struct sched_unit which will be set > whenever the unit is being scheduled. Switch scheduler code to use > unit->is_running instead of vcpu->is_running for scheduling > decisions. > > At the same time introduce a state_entry_time field in struct > sched_unit being updated whenever the is_running indicator is > changed. > Use that new field in the schedulers instead of the similar vcpu > field. > > Signed-off-by: Juergen Gross <jgr...@suse.com> > Reviewed-by: Dario Faggioli <dfaggi...@suse.com>
Regards -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <<This happens because _I_ choose it to happen!>> (Raistlin Majere)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel