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

Re: [Xen-devel] [PATCH v3 13/47] xen/sched: add is_running indicator to struct sched_unit



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 <jgross@xxxxxxxx>
>
Reviewed-by: Dario Faggioli <dfaggioli@xxxxxxxx>

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)

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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