Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759376AbXK0P6r (ORCPT ); Tue, 27 Nov 2007 10:58:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759281AbXK0P6b (ORCPT ); Tue, 27 Nov 2007 10:58:31 -0500 Received: from one.firstfloor.org ([213.235.205.2]:58251 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759271AbXK0P63 (ORCPT ); Tue, 27 Nov 2007 10:58:29 -0500 Date: Tue, 27 Nov 2007 16:58:28 +0100 From: Andi Kleen To: Jonathan Corbet Cc: Rusty Russell , Andi Kleen , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sam@ravnborg.org, Roland Dreier Subject: Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro. Message-ID: <20071127155828.GF24223@one.firstfloor.org> References: <200711271549.37670.rusty@rustcorp.com.au> <25602.1196178204@lwn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25602.1196178204@lwn.net> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1066 Lines: 26 On Tue, Nov 27, 2007 at 08:43:24AM -0700, Jonathan Corbet wrote: > Rusty said: > > > Well, introduce an EXPORT_SYMBOL_INTERNAL(). It's a lot less code. But you'd > > still need to show that people are having trouble knowing what APIs to use. > > Might the recent discussion on the exporting of sys_open() and > sys_read() be an example here? There would appear to be a consensus > that people should not have used those functions, but they are now > proving difficult to unexport. That is a good example yes. > Perhaps the best use of the namespace stuff might be for *future* > exports which are needed to help make the mainline kernel fully modular, > but which are not meant to be part of a more widely-used API? Not sure about future only, but yes that is its intention. Thanks for putting it clearly. -Andi - 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/