Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261484AbVDDXEz (ORCPT ); Mon, 4 Apr 2005 19:04:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261460AbVDDW67 (ORCPT ); Mon, 4 Apr 2005 18:58:59 -0400 Received: from fmr21.intel.com ([143.183.121.13]:20932 "EHLO scsfmr001.sc.intel.com") by vger.kernel.org with ESMTP id S261474AbVDDW51 (ORCPT ); Mon, 4 Apr 2005 18:57:27 -0400 Date: Mon, 4 Apr 2005 15:56:48 -0700 From: Ashok Raj To: Nathan Lynch Cc: Nigel Cunningham , "Li, Shaohua" , lkml , ACPI List , Zwane Mwaikambo , "Brown, Len" , Pavel Machek Subject: Re: [ACPI] Re: [RFC 5/6]clean cpu state after hotremove CPU Message-ID: <20050404155647.A8944@unix-os.sc.intel.com> References: <20050404224620.GD3611@otto> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20050404224620.GD3611@otto>; from ntl@pobox.com on Mon, Apr 04, 2005 at 03:46:20PM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1317 Lines: 35 On Mon, Apr 04, 2005 at 03:46:20PM -0700, Nathan Lynch wrote: > > Hi Nigel! > > On Tue, Apr 05, 2005 at 08:14:25AM +1000, Nigel Cunningham wrote: > > > > On Tue, 2005-04-05 at 01:33, Nathan Lynch wrote: > > > > Yes, exactly. Someone who understand do_exit please help clean > > No, that wouldn't work. I am saying that there's little to gain by > adding all this complexity for destroying the idle tasks when it's > fairly simple to create num_possible_cpus() - 1 idle tasks* to > accommodate any additional cpus which may come along. This is what > ppc64 does now, and it should be feasible on any architecture which > supports cpu hotplug. > > Nathan > > * num_possible_cpus() - 1 because the idle task for the boot cpu is > created in sched_init. > In ia64 we create idle threads on demand if one is not available for the same logical cpu number, and re-used when the same logical cpu number is re-used. just a minor improvement, i also thought about idle exit, but wasnt worth anything in return. Cheers, ashok - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/