Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757877AbXELHyA (ORCPT ); Sat, 12 May 2007 03:54:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756658AbXELHxx (ORCPT ); Sat, 12 May 2007 03:53:53 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:51206 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755547AbXELHxx (ORCPT ); Sat, 12 May 2007 03:53:53 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Message-ID: <4645725F.3060809@s5r6.in-berlin.de> Date: Sat, 12 May 2007 09:53:03 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070408 SeaMonkey/1.1.1 MIME-Version: 1.0 To: "H. Peter Anvin" CC: Satyam Sharma , Jonathan Corbet , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Johannes Stezenbach , Jesper Juhl , Randy Dunlap , Heikki Orsila , jimmy bahuleyan Subject: Re: [PATCH] "volatile considered harmful", take 3 References: <12700.1178905000@lwn.net> <464551D5.2050709@zytor.com> <46455CD9.7010205@zytor.com> <4645691C.5090408@zytor.com> In-Reply-To: <4645691C.5090408@zytor.com> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 791 Lines: 19 H. Peter Anvin wrote: [slightly off topic: GCCisms in Linux kernel] > It contains *many* constructs that are not defined in, for > example, C99, and it would in fact be impossible to write the Linux > kernel using only C99-compliant constructs. True. On the other hand, it is possible to keep large parts of the kernel independent of compiler implementation details. And it is not only possible but also beneficial, e.g. because the compiler's implementation changes over time. -- Stefan Richter -=====-=-=== -=-= -==-- http://arcgraph.de/sr/ - 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/