From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261228AbULAAsd (ORCPT ); Tue, 30 Nov 2004 19:48:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261170AbULAAeD (ORCPT ); Tue, 30 Nov 2004 19:34:03 -0500 Received: from fw.osdl.org ([65.172.181.6]:65504 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261207AbULAATe (ORCPT ); Tue, 30 Nov 2004 19:19:34 -0500 Date: Tue, 30 Nov 2004 16:18:35 -0800 (PST) From: Linus Torvalds To: David Woodhouse cc: Alexandre Oliva , dhowells , Paul Mackerras , Greg KH , Matthew Wilcox , hch@infradead.org, Kernel Mailing List Subject: Re: [RFC] Splitting kernel headers and deprecating __KERNEL__ In-Reply-To: Message-ID: References: <19865.1101395592@redhat.com> <20041125165433.GA2849@parcelfarce.linux.theplanet.co.uk> <1101406661.8191.9390.camel@hades.cambridge.redhat.com> <20041127032403.GB10536@kroah.com> <16810.24893.747522.656073@cargo.ozlabs.ibm.com> <8219.1101828816@redhat.com> <1101854061.4574.4.camel@localhost.localdomain> <1101858657.4574.33.camel@localhost.localdomain> 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 On Tue, 30 Nov 2004, Linus Torvalds wrote: > > Even atomic.h. I could well imagine that somebody includes atomic.h just > to get the thread-safe updates for some architectures. For example, > asm-alpha/atomic.h does it right, and I would not be at all surprised if > somebody had noticed. In fact, this is not entirely theoretical. I know people _have_ noticed, because I've gotten queries from some projects that wanted to copy the definitions for their alpha port. I only got those queries because my name is on the file, and those people wanted to actually copy them, not just include the header file. I don't know _how_ many people decided to just do the #include. There are probably more people familiar with the kernel source tree than with GLIB which is probably the preferred way to do those things these days. And a few years ago that choice wasn't even there. Linus