From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752654Ab2BZDIm (ORCPT ); Sat, 25 Feb 2012 22:08:42 -0500 Received: from terminus.zytor.com ([198.137.202.10]:39473 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752191Ab2BZDIl (ORCPT ); Sat, 25 Feb 2012 22:08:41 -0500 References: <20120221.221609.218135609185671883.davem@davemloft.net> <1329889428.2193.45.camel@perseus.themaw.net> <1329890027.2193.48.camel@perseus.themaw.net> <1329890251.2193.50.camel@perseus.themaw.net> <4F498EFF.6040309@zytor.com> User-Agent: K-9 Mail for Android In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] autofs4: fix compilation without CONFIG_COMPAT From: "H. Peter Anvin" Date: Sat, 25 Feb 2012 19:07:57 -0800 To: Linus Torvalds CC: Andreas Schwab , Ian Kent , David Miller , linux-kernel@vger.kernel.org, autofs@vger.kernel.org, Thomas Meyer , Al Viro Message-ID: <50f96318-3d2f-4a76-b605-68be601d926b@email.android.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fortunately it is, because it always indicates a major design facepalm. Linus Torvalds wrote: >On Sat, Feb 25, 2012 at 5:46 PM, H. Peter Anvin wrote: >> >> I think this patch could help clean up other places, too. > >Grepping for CONFIG_COMPAT shows that the most common test is for some >local variable that indicates "compatness". > >The "is_compat_task()" test is actually surprisingly rare. > > Linus -- Sent from my mobile phone. Please excuse my brevity and lack of formatting.