From: "Jan Beulich" Subject: halt() and safe_halt() Date: Tue, 23 May 2006 17:49:32 +0200 Message-ID: <44734B2C.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Considering that halt() is e.g. called (in an endless loop) from smp_send_stop() on all but the current CPU, wouldn't it make more sense to make this HYPERVISOR_block() rather than just ((void)0)? It would seem to me that HYPERVISOR_block() comes fairly close the what the hlt instruction means on real hardware. Thanks, Jan