Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754129Ab1FNVbW (ORCPT ); Tue, 14 Jun 2011 17:31:22 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:33432 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750947Ab1FNVbV (ORCPT ); Tue, 14 Jun 2011 17:31:21 -0400 Date: Tue, 14 Jun 2011 23:31:09 +0200 From: Ingo Molnar To: Linus Torvalds Cc: Andy Lutomirski , Rakib Mullick , hpa@zytor.com, tglx@linutronix.de, x86@kernel.org, linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH] x86, vsyscall: Fix build warning in vsyscall_64.c Message-ID: <20110614213109.GA9725@elte.hu> References: <4DF7A264.3030901@mit.edu> <20110614211613.GB12249@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: 802 Lines: 24 * Linus Torvalds wrote: > On Tue, Jun 14, 2011 at 2:16 PM, Ingo Molnar wrote: > > > > I think correctness trumps code size and turning BUG() and BUG_ON() > > into a NOP is just crazy ... > > Umm. It's even CRAZIER to turn it into a "compiler generates random code". Sigh, i assumed it got turned into an infinite loop - that is what i've done in a prior patch. You are right, unreachable() is bogus and you'd also be right to suggest that i should not comment on patches after 11pm ;-) 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/