[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen: sched: Credit2: during scheduling, update the idle mask before using it
On Thu, 2018-10-11 at 15:44 +0200, Dario Faggioli wrote: > Load balancing, when happening, at the end of a "scheduler epoch", > can > trigger vcpu migration, which in its turn may call runq_tickle(). If > the > cpu where this happens was idle, but we're now going to schedule a > vcpu > on it, let's update the runq's idle cpus mask accordingly _before_ > doing > load balancing. > > Not doing that, in fact, may cause runq_tickle() to think that the > cpu > is still idle, and tickle it to go pick up a vcpu from the runqueue, > which might be wrong/unideal. > > Signed-off-by: Dario Faggioli <dfaggioli@xxxxxxxx> > --- > Cc: George Dunlap <george.dunlap@xxxxxxxxxx> > Ping? Thanks and Regards, Dario -- <<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Software Engineer @ SUSE https://www.suse.com/ Attachment:
signature.asc _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |