Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760867AbXIJT6Y (ORCPT ); Mon, 10 Sep 2007 15:58:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932890AbXIJT6Q (ORCPT ); Mon, 10 Sep 2007 15:58:16 -0400 Received: from emailhub.stusta.mhn.de ([141.84.69.5]:56432 "EHLO mailhub.stusta.mhn.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932715AbXIJT6P (ORCPT ); Mon, 10 Sep 2007 15:58:15 -0400 Date: Mon, 10 Sep 2007 21:58:21 +0200 From: Adrian Bunk To: Andrew Morton Cc: Al Viro , Christoph Hellwig , perex@suse.cz, linux-kernel@vger.kernel.org Subject: Re: [-mm patch] unexport sys_{open,read} Message-ID: <20070910195821.GH3563@stusta.de> References: <20070909202527.GT3563@stusta.de> <20070909203920.GA11764@infradead.org> <20070909145940.0b41c8a5.akpm@linux-foundation.org> <20070910090808.GA31204@infradead.org> <20070910022324.c69e1897.akpm@linux-foundation.org> <20070910124358.GB21089@ftp.linux.org.uk> <20070910102556.de35e825.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20070910102556.de35e825.akpm@linux-foundation.org> User-Agent: Mutt/1.5.16 (2007-06-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2193 Lines: 54 On Mon, Sep 10, 2007 at 10:25:56AM -0700, Andrew Morton wrote: >... > Also, Adrian goes on and on with weird theories about how I'm picking on > him. But other patches (such as 7d12e780e003f93433d49ce78c) DO OTHER > STUFF. Like simplify the code, and make it smaller, faster or more > maintainable or more reliable. The unexport of sys_{open,read} actually makes the kernel smaller... > So the tradeoff is quite different from a > one-liner which does nothing but kill an export. And, contrary to his > claims, we _do_ put temporary back-compat wrappers in there when we > change interfaces on those relatively rare occasions when it is possible, > and when we remember to do it. Your tradeoff misses the impact on external modules. The unexport of sys_open will not break many modules, while commit 7d12e780e003f93433d49ce78c most likely broke the majority of external modules. Do we guarantee some API stability to module authors or do we not guarantee this? Emphasizing on API stability in the cases that don't matter much while breaking the API in cases that affect most modules doesn't make any sense at all. And your "remember to do it" is an important point. As an example, every change to a struct that is part of the signature of one or exportted functions does change the API of all of these functions. If we offer any API stability for external modules we need to review all patches that touch include/ because many of them contain changes to the modules API that might otherwise get missed. Let's either continue to state that their is no stable API for external modules or define some API stability rules and do whatever is required for implementing them. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed - 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/