[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] stopping APs during shutdown/reboot


  • To: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxxxxxxxx>
  • Date: Wed, 11 Apr 2007 08:42:26 +0100
  • Delivery-date: Wed, 11 Apr 2007 00:41:24 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acd8DD95WrzbOHQpQH2y9vGywbxRhQAALNvt
  • Thread-topic: [Xen-devel] stopping APs during shutdown/reboot



On 11/4/07 08:37, "Cihula, Joseph" <joseph.cihula@xxxxxxxxx> wrote:

> machine_halt(), in xen/arch/x86/shutdown.c, uses
> smp_call_function(__machine_halt, NULL, 1, 0) to stop all APs.
> __machine_halt() is just an infinite for loop of __asm__ __volatile__ (
> "hlt" );
> 
> machine_restart(), also in shudown.c, uses smp_send_stop() which ends up
> doing the same thing with a few additional cleanup procedures.

Yes, shutdown is a fricking mess, especially after the kexec changes.
There's a fair bit of scope for cleanup.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.