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] Cleanups to cpu_disable_scheduler().

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Cleanups to cpu_disable_scheduler().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Apr 2010 18:50:24 -0700
Delivery-date: Mon, 19 Apr 2010 18:52:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1271673051 -3600
# Node ID 6ed67e488830f81e11d7b6d0c011a0bc5c176929
# Parent  700da767f797c49f06ae3e19a55ab6d40342b986
Cleanups to cpu_disable_scheduler().

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/schedule.c |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)

diff -r 700da767f797 -r 6ed67e488830 xen/common/schedule.c
--- a/xen/common/schedule.c     Mon Apr 19 11:16:06 2010 +0100
+++ b/xen/common/schedule.c     Mon Apr 19 11:30:51 2010 +0100
@@ -370,7 +370,7 @@ void vcpu_force_reschedule(struct vcpu *
 
 /*
  * This function is used by cpu_hotplug code from stop_machine context.
- * Hence we can avoid needing to take the 
+ * Hence we can avoid needing to take certain locks.
  */
 void cpu_disable_scheduler(void)
 {
@@ -382,9 +382,6 @@ void cpu_disable_scheduler(void)
     {
         for_each_vcpu ( d, v )
         {
-            if ( is_idle_vcpu(v) )
-                continue;
-
             if ( (cpus_weight(v->cpu_affinity) == 1) &&
                  cpu_isset(cpu, v->cpu_affinity) )
             {

_______________________________________________
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] Cleanups to cpu_disable_scheduler()., Xen patchbot-unstable <=