[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [XEN] Scheduler pings only CPUs in a VCPU's affinity mask to balance load.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 6ca1a8ebfdf41bb595a8cc87c95885b601bd2f20 # Parent fc8ae086f7061ebd092162ddb93e54e8964fce55 [XEN] Scheduler pings only CPUs in a VCPU's affinity mask to balance load. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- xen/common/sched_credit.c | 2 ++ 1 files changed, 2 insertions(+) diff -r fc8ae086f706 -r 6ca1a8ebfdf4 xen/common/sched_credit.c --- a/xen/common/sched_credit.c Fri Sep 15 11:07:25 2006 +0100 +++ b/xen/common/sched_credit.c Fri Sep 15 11:17:26 2006 +0100 @@ -290,6 +290,7 @@ __runq_tickle(unsigned int cpu, struct c { CSCHED_STAT_CRANK(tickle_idlers_some); cpus_or(mask, mask, csched_priv.idlers); + cpus_and(mask, mask, new->vcpu->cpu_affinity); } } @@ -1001,6 +1002,7 @@ csched_load_balance(int cpu, struct csch } else if ( is_idle_vcpu(per_cpu(schedule_data, peer_cpu).curr) ) { + CSCHED_STAT_CRANK(steal_peer_idle); speer = NULL; } else _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |