From: Keir Fraser <keir@xensource.com>
To: "Cihula, Joseph" <joseph.cihula@intel.com>,
xen-devel@lists.xensource.com
Subject: Re: stopping APs during shutdown/reboot
Date: Wed, 11 Apr 2007 08:42:26 +0100 [thread overview]
Message-ID: <C2424FF2.D202%keir@xensource.com> (raw)
In-Reply-To: <AEC554657A662A4880670EA30CB9488D0197F387@orsmsx412.amr.corp.intel.com>
On 11/4/07 08:37, "Cihula, Joseph" <joseph.cihula@intel.com> 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
prev parent reply other threads:[~2007-04-11 7:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-11 7:37 stopping APs during shutdown/reboot Cihula, Joseph
2007-04-11 7:42 ` Keir Fraser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C2424FF2.D202%keir@xensource.com \
--to=keir@xensource.com \
--cc=joseph.cihula@intel.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.