Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755083Ab1E3Kmo (ORCPT ); Mon, 30 May 2011 06:42:44 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:49772 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752908Ab1E3Kmn (ORCPT ); Mon, 30 May 2011 06:42:43 -0400 Date: Mon, 30 May 2011 12:42:31 +0200 From: Ingo Molnar To: David Woodhouse Cc: x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix corruption of CONFIG_X86_32 in 'make oldconfig' Message-ID: <20110530104231.GF17821@elte.hu> References: <1306707270.2029.377.camel@i7.infradead.org> <20110530072300.GA9802@elte.hu> <1306745835.2029.389.camel@i7.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1306745835.2029.389.camel@i7.infradead.org> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.3.1 -2.0 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1803 Lines: 46 * David Woodhouse wrote: > On Mon, 2011-05-30 at 09:23 +0200, Ingo Molnar wrote: > > You thoroughly misunderstood my prior regression report, the problem > > with your patch was that your patch actually *broke* existing > > filtered-randconfig behavior, for example trying to get a 64-bit > > randconfig: > > > > make ARCH=x86_64 randconfig > > > > ... will today produce a 64-bit randconfig while with your old change > > applied it produced a 32-bit randconfig 50% of the time. > > I believe that this 'filtered randconfig' behaviour is now fairly much > the *only* use for the old 'ARCH=i386' and 'ARCH=x86_64'. Not really, there's also: make ARCH=i386 defconfig # writes 32-bit defconfig into .config make ARCH=x86_64 defconfig # writes 64-bit defconfig into .config make ARCH=i386 oldconfig # turns 64-bit .config int 32-bit equivalent make ARCH=x86_64 oldconfig # turns 32-bit .config int 64-bit equivalent And i use these variants myself, both as commands typed and in scripts, in addition to the randconfig variants: make ARCH=i386 randconfig # write 32-bit randconfig into .config make ARCH=x86_64 randconfig # write 64-bit randconfig into .config I'm pretty sure others are relying on these variants as well - they are fairly logical along several dimensions. So could we please fix the 'make oldconfig' behavior (which i fully agree with you should pick up the bitness from the .config) *without* regressing these other, working and useful cases? Thanks, Ingo -- 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/