From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757277Ab3EVVEv (ORCPT ); Wed, 22 May 2013 17:04:51 -0400 Received: from smtp.snhosting.dk ([87.238.248.203]:64754 "EHLO smtp.domainteam.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457Ab3EVVEt (ORCPT ); Wed, 22 May 2013 17:04:49 -0400 Date: Wed, 22 May 2013 23:04:47 +0200 From: Sam Ravnborg To: "H. Peter Anvin" Cc: linux-arch , Linux Kernel Mailing List , Ingo Molnar , Thomas Gleixner , Linus Torvalds , Greg KH Subject: Re: Get rid of cpuinit? Message-ID: <20130522210447.GA26123@merkur.ravnborg.org> References: <519AA53F.1020107@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <519AA53F.1020107@zytor.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 20, 2013 at 03:35:43PM -0700, H. Peter Anvin wrote: > We have gotten rid of devinit markup. A recent patch of Linus' makes me > wonder if we similarly should get rid of cpuinit markup? > > Just as with devices, the CPU hotplug machinery has been leveraged to > support a number of pieces of functionality such as suspend, which means > that on anything but the most embedded systems this functionality is > likely needed anyway. If you grep for CPU_HOTPLUG in various defconfig files you will see that it is only set in a few of these files (at least in arm/configs/). I did not check it CPU_HOTPLUG would be set when you actually used the config - but at least we need to pay attention to the current usage. Sam