Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264399AbTIITxC (ORCPT ); Tue, 9 Sep 2003 15:53:02 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264418AbTIITxC (ORCPT ); Tue, 9 Sep 2003 15:53:02 -0400 Received: from trained-monkey.org ([209.217.122.11]:62481 "EHLO trained-monkey.org") by vger.kernel.org with ESMTP id S264399AbTIITvP (ORCPT ); Tue, 9 Sep 2003 15:51:15 -0400 To: "Siddha, Suresh B" Cc: "Christoph Hellwig" , "Andrew Morton" , "Linus Torvalds" , , "Nakajima, Jun" , "Mallick, Asit K" Subject: Re: [Patch] asm workarounds in generic header files References: From: Jes Sorensen Date: 09 Sep 2003 15:51:05 -0400 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1301 Lines: 25 >>>>> "Suresh" == Siddha, Suresh B writes: Suresh> We believe that we are trying to improve the code by Suresh> localizing the compiler issues (including the ones for gcc3 Suresh> and Intel complier) and by introducing use of compiler Suresh> intrinsics (e.g. for barrier()). Hi Suresh, I actually think this is degrading the code rather then improving it. Right now the various macros are located in the include/asm- directory next to the items where they are used. Moving it all into one big catch-all assembly file makes it a lot harder to read things and debug the code. I already took a look at the changes that went into the ia64 part of the tree and I really think that was a step backwards. In terms of compiling the Linux kernel, I will argue that the Intel compiler is broken if it cannot handle inline assembly. Inline assembly is just too fundamental a feature for the kernel. This is totally ignoring the question of whether one should be compiling the kernel with non-GCC in the first place. Regards, Jes - 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/