On Sat, 2019-09-14 at 10:52 +0200, Juergen Gross wrote: > Affinities are scheduler specific attributes, they should be per > scheduling unit. So move all affinity related fields in struct vcpu > to struct sched_unit. While at it switch affinity related functions > in > sched-if.h to use a pointer to sched_unit instead to vcpu as > parameter. > > The affinity_broken flag must be kept per vcpu as it is related to > guest actions on specific vcpus. When support of multiple vcpus per > sched_unit is being added, a unit is regarded as being subject to > "broken affinity" when any of its vcpus has the affinity_broken flag > set. > > 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