From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268193AbUHKTqf (ORCPT ); Wed, 11 Aug 2004 15:46:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268195AbUHKTqf (ORCPT ); Wed, 11 Aug 2004 15:46:35 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:56245 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S268193AbUHKTq0 (ORCPT ); Wed, 11 Aug 2004 15:46:26 -0400 Date: Wed, 11 Aug 2004 15:50:19 +0200 From: Pavel Machek To: Zwane Mwaikambo Cc: Andrew Morton , Linux Kernel , Rusty Russell , lhcs-devel@lists.sourceforge.net Subject: Re: [PATCH][2.6-mm] i386 Hotplug CPU Message-ID: <20040811135019.GC1120@openzaurus.ucw.cz> References: <1090870667.22306.40.camel@pants.austin.ibm.com> <20040726170157.7f4b414c.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > +#ifdef CONFIG_HOTPLUG_CPU > +#include > +/* We don't actually take CPU down, just spin without interrupts. */ > +static inline void play_dead(void) > +{ Well... if this can be fixed to really take cpu down, it will be immediately usefull for suspend-to-ram. If it is made to at least survive registers being overwritten, it will be usefull for suspend-to-disk... Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms