Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757668Ab1FFPwc (ORCPT ); Mon, 6 Jun 2011 11:52:32 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:35251 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752842Ab1FFPw3 convert rfc822-to-8bit (ORCPT ); Mon, 6 Jun 2011 11:52:29 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Z13tP7CQYx36mzSwpdq/1W8coSJYHtXxtacvOsDFcm9H3xc498tbR4nY6SsCiu2Ml6 aUKzFlHnZVWMAUunSp9PIMzykFU/IB/N0IWyw58kI599B+H2k+G/ShE0pKvqZETlGEDd qUeUFU8lVnCdTDi9xh0oM9/hEUToTrq5kkOPk= MIME-Version: 1.0 In-Reply-To: <20110605082100.GA18151@leaf> References: <20110605082100.GA18151@leaf> Date: Mon, 6 Jun 2011 23:52:29 +0800 Message-ID: Subject: Re: [PATCH] Disable CONFIG_CONSTRUCTORS when not needed by CONFIG_GCOV_KERNEL From: =?UTF-8?Q?Am=C3=A9rico_Wang?= To: Josh Triplett Cc: Peter Oberparleiter , Rusty Russell , Sam Ravnborg , Jeff Dike , Andi Kleen , Huang Ying , Li Wei , Michael Ellerman , Ingo Molnar , Heiko Carstens , Martin Schwidefsky , Al Viro , Andrew Morton , Linus Torvalds , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1034 Lines: 25 On Sun, Jun 5, 2011 at 4:21 PM, Josh Triplett wrote: > CONFIG_CONSTRUCTORS controls support for running constructor functions > at kernel init time.  According to commit > b99b87f70c7785ab1e253c6220f4b0b57ce3a7f7, gcov (CONFIG_GCOV_KERNEL) > needs this.  However, CONFIG_CONSTRUCTORS currently defaults to y, with > no option to disable it, and CONFIG_GCOV_KERNEL depends on it.  Instead, > default it to n and have CONFIG_GCOV_KERNEL select it, so that the > normal case of CONFIG_GCOV_KERNEL=n will result in > CONFIG_CONSTRUCTORS=n. > > Observed in the short list of =y values in a minimal kernel > configuration. > > Signed-off-by: Josh Triplett Yeah, this is reasonable, so, Acked-by: WANG Cong Thanks! -- 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/