From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from usmamail.tilera.com ([206.83.70.75]:48292 "EHLO USMAMAIL.TILERA.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752476Ab2DVVCD (ORCPT ); Sun, 22 Apr 2012 17:02:03 -0400 Message-ID: <4F9471B9.5050007@tilera.com> Date: Sun, 22 Apr 2012 23:01:45 +0200 From: Chris Metcalf MIME-Version: 1.0 Subject: Re: [patch 00/18] SMP: Boot and CPU hotplug refactoring - Part 1 References: <20120420122120.097464672@linutronix.de> In-Reply-To: <20120420122120.097464672@linutronix.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Thomas Gleixner Cc: LKML , linux-arch@vger.kernel.org, Peter Zijlstra , Rusty Russell , "Paul E. McKenney" , Ingo Molnar , "Srivatsa S. Bhat" Message-ID: <20120422210145.90HhO36CTTo1WwPXuqtBpt_NnDp2U3Q_GQTGRWLg85Q@z> On Fri, 2012-04-20 at 13:05 +0000, Thomas Gleixner wrote: > [...] > This first part moves the idle thread management for non-boot cpus > into the core. fork_idle() is called in a workqueue as it is > implemented in a few architectures already. This is necessary when not > all cpus are brought up by the early boot code as otherwise we would > take a ref on the user task VM of the thread which brings the cpu up > via the sysfs interface. > > This converts all architectures except m32r, mn10300, tile and UM to > the new core facility. These architecture are calling fork_idle() in > the very early boot code in smp_prepare_cpus() for unknown reasons. > I haven't analyzed yet, whether this is on purpose or can be moved > over to the generic facility. It'd be nice if the responsible maintainers > could look into that as well. I will take a look at this for the tile architecture later this week; I'm out on vacation until Wednesday. -- Chris Metcalf, Tilera Corp. http://www.tilera.com -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html