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] cpu: Quieten normal CPU hotplug operation

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] cpu: Quieten normal CPU hotplug operations.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 May 2010 05:15:32 -0700
Delivery-date: Wed, 19 May 2010 05:16:43 -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 1273855733 -3600
# Node ID 9fe4445a5fbe2fb8606621da4fb8dcae93bdf1e9
# Parent  385abc693c967c4c1adfa4d896a4c681dc06a31f
cpu: Quieten normal CPU hotplug operations.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/acpi/power.c |    2 +-
 xen/common/cpu.c          |   10 ----------
 2 files changed, 1 insertion(+), 11 deletions(-)

diff -r 385abc693c96 -r 9fe4445a5fbe xen/arch/x86/acpi/power.c
--- a/xen/arch/x86/acpi/power.c Fri May 14 17:48:34 2010 +0100
+++ b/xen/arch/x86/acpi/power.c Fri May 14 17:48:53 2010 +0100
@@ -135,7 +135,7 @@ static int enter_state(u32 state)
     if ( !spin_trylock(&pm_lock) )
         return -EBUSY;
 
-    printk(XENLOG_INFO "Preparing system for ACPI S%d state.", state);
+    printk(XENLOG_INFO "Preparing system for ACPI S%d state.\n", state);
 
     freeze_domains();
 
diff -r 385abc693c96 -r 9fe4445a5fbe xen/common/cpu.c
--- a/xen/common/cpu.c  Fri May 14 17:48:34 2010 +0100
+++ b/xen/common/cpu.c  Fri May 14 17:48:53 2010 +0100
@@ -85,8 +85,6 @@ int cpu_down(unsigned int cpu)
         return -EINVAL;
     }
 
-    printk("Prepare to bring CPU%d down...\n", cpu);
-
     notifier_rc = __raw_notifier_call_chain(
         &cpu_chain, CPU_DOWN_PREPARE, hcpu, -1, &nr_calls);
     if ( notifier_rc != NOTIFY_DONE )
@@ -115,14 +113,9 @@ int cpu_down(unsigned int cpu)
 
  out:
     if ( !err )
-    {
-        printk("CPU %u is now offline\n", cpu);
         send_guest_global_virq(dom0, VIRQ_PCPU_STATE);
-    }
     else
-    {
         printk("Failed to take down CPU %u (error %d)\n", cpu, err);
-    }
     cpu_hotplug_done();
     return err;
 }
@@ -195,7 +188,6 @@ int disable_nonboot_cpus(void)
         }
 
         cpu_set(cpu, frozen_cpus);
-        printk("CPU%d is down\n", cpu);
     }
 
     BUG_ON(!error && (num_online_cpus() != 1));
@@ -214,9 +206,7 @@ void enable_nonboot_cpus(void)
         {
             BUG_ON(error == -EBUSY);
             printk("Error taking CPU%d up: %d\n", cpu, error);
-            continue;
         }
-        printk("CPU%d is up\n", cpu);
     }
 
     cpus_clear(frozen_cpus);

_______________________________________________
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] cpu: Quieten normal CPU hotplug operations., Xen patchbot-unstable <=