From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 2/4] bug: completely remove code of disabled VM_BUG_ON() Date: Fri, 27 Apr 2012 07:17:50 +0200 Message-ID: References: <20120425112623.26927.43229.stgit@zurg> <20120425112629.26927.21609.stgit@zurg> <20120426153241.6d4762a2.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mail-wi0-f172.google.com ([209.85.212.172]:51460 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751112Ab2D0FRw convert rfc822-to-8bit (ORCPT ); Fri, 27 Apr 2012 01:17:52 -0400 In-Reply-To: <20120426153241.6d4762a2.akpm@linux-foundation.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andrew Morton Cc: Konstantin Khlebnikov , Linus Torvalds , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org On Fri, Apr 27, 2012 at 00:32, Andrew Morton wrote: > On Wed, 25 Apr 2012 16:40:32 +0200 > Geert Uytterhoeven wrote: > >> On Wed, Apr 25, 2012 at 13:26, Konstantin Khlebnikov >> wrote: >> > Even if CONFIG_DEBUG_VM=3Dn gcc genereates code for some VM_BUG_ON= () >> >> That's because of the side effects of the expression >> >> https://lkml.org/lkml/2012/4/25/146 >> >> But IRIC, we do want them here? >> > > AFAICT (lkml.org appears to be having a meltdown), you've gone and > linked to this very thread. > > Please try again, this time avoiding hyperlinks ;) Yeah, I noticed after the fact. I wanted to look up the definition of unused_expression(), which obviously wasn't in my tree yet ;-) Still, I think people started relyong on the side effects, didn't they? Gr{oetje,eeting}s, =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-= m68k.org In personal conversations with technical people, I call myself a hacker= =2E But when I'm talking to journalists I just say "programmer" or something li= ke that. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0 -- Linus Torvalds