|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [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
 
 |   
 
| Previous by Date:  | 
Re: [Xen-devel] Re: [PATCH][HVM] fix VNIF restore failure on HVM	guest with heavy workload, Keir Fraser | 
 
| Next by Date:  | 
[Xen-devel] 	vmx status report against changeset 14791 - 1 new issue,	1 fixed isse, 3 old issues, Zhao, Yunfeng | 
 
| Previous by Thread:  | 
[Xen-devel] stopping APs during shutdown/reboot, Cihula, Joseph | 
 
| Next by Thread:  | 
[Xen-devel] 	vmx status report against changeset 14791 - 1 new issue,	1 fixed isse, 3 old issues, Zhao, Yunfeng | 
 
| Indexes:  | 
[Date]
[Thread]
[Top]
[All Lists] | 
 
 
 
 | 
    | 
  
  
    |   | 
    |