Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 3 Apr 2002 15:30:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 3 Apr 2002 15:29:59 -0500 Received: from brooklyn-bridge.emea.veritas.com ([62.172.234.2]:37951 "EHLO einstein.homenet") by vger.kernel.org with ESMTP id ; Wed, 3 Apr 2002 15:29:44 -0500 Date: Wed, 3 Apr 2002 21:27:52 +0100 (BST) From: Tigran Aivazian X-X-Sender: To: Alan Cox cc: Andrea Arcangeli , Arjan van de Ven , Hugh Dickins , Ingo Molnar , Stelian Pop , Subject: Re: [PATCH 2.5.5] do export vmalloc_to_page to modules... In-Reply-To: Message-ID: 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 Wed, 3 Apr 2002, Tigran Aivazian wrote: > is wrong somewhere. Then perhaps we could even refine the API to have > > EXPORT_SYMBOL_FRIENDS(sym,list_of_friends) > > where only "friends" can use the symbol and even then only if they first > call (an exported function): > > register_export_payment(sym, sum); > > where 'sum' depends on the number of hours spent on writing sym(). I hope it is obvious it was a joke? Perhaps to make the joke intention clearer I should have suggested a better "symbol exporting protocol" from kindergarten experience: module -> kernel: export your symbols, please kernel -> module: you export yours first and I'll export some of mine which is not totally unlike the scheme suggested by bona fide EXPORT_SYMBOL_GPL defenders, namely "if binary-only modules don't contribute to the base kernel why should the base kernel let them use it's symbols". Regards, Tigran - 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/