WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEN] Scheduler pings only CPUs in a VCPU

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN] Scheduler pings only CPUs in a VCPU's affinity mask to balance load.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Sep 2006 17:00:28 +0000
Delivery-date: Sun, 17 Sep 2006 10:02:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN] Scheduler pings only CPUs in a VCPU's affinity mask to balance load., Xen patchbot-unstable <=