LWN.net Logo

Re: [patch 4/4] Markers Support for Proprierary Modules

From:  Mathieu Desnoyers <mathieu.desnoyers-AT-polymtl.ca>
To:  Ingo Molnar <mingo-AT-elte.hu>
Subject:  Re: [patch 4/4] Markers Support for Proprierary Modules
Date:  Thu, 20 Mar 2008 18:22:58 -0400
Message-ID:  <20080320222258.GA15511@Krystal>
Cc:  akpm-AT-linux-foundation.org, linux-kernel-AT-vger.kernel.org, Jon Masters <jcm-AT-jonmasters.org>, "Frank Ch. Eigler" <fche-AT-redhat.com>, Jon Masters <jcm-AT-redhat.com>, Rusty Russell <rusty-AT-rustcorp.com.au>, Christoph Hellwig <hch-AT-infradead.org>, Linus Torvalds <torvalds-AT-linux-foundation.org>
Archive-link:  Article, Thread

* Ingo Molnar (mingo@elte.hu) wrote:
> 
> * Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:
> 
> > There seems to be good arguments for markers to support proprierary 
> > modules. So I am throwing this one-liner in and let's see how people 
> > react. [...]
> 
> ugh, this is unbelievably stupid move technically - so a very strong 
> NACK. Allowing marker use in unfixable modules (today it's placing 
> markers into unfixable modules, tomorrow it's marker use by such 
> modules) has only one clear and predictable effect: it turns marker 
> calls into essential ABIs because when faced with any breakage in an 
> unfixable module that makes use of a marker in some kernel subsystem 
> then all the pressure is on those who _can_ fix their code - meaning the 
> kernel subsystem maintainers that use markers.
> 
> unfixable modules should only be allowed access to easy things they can 
> access anyway, or to such fundamental things which we wont realistically 
> change anyway. Markers are neither.
> 
> (i also find it puzzling why you go out on a limb helping a piece of 
> _irrelevant_ technology that has been the unparalleled source of pain 
> and anguish to both kernel users and kernel developers.)
> 
> 	Ingo

Please note that this patch has a single purpose : to let proprietary
modules define markers to *export* information. The opposite (connect
callbacks to markers) is not allowed since the rest of the markers API
is EXPORT_SYMBOL_GPL'd.

I would also be strongly against letting proprietary modules access the
information provided by the markers. However, I think it's only useful
for the end user to let proprietary modules open up a bit, considering
that proprierary module writers can use the markers as they want
in-house, but would have to leave them disabled on shipped kernels.

As far as I am concerned, I want to help the end user, not the
technology itself.

Unless I have a proof that markers in proprietary modules (information
*providers* only) would be a pain to maintain, I won't object against
supporting proprietary modules.

Mathieu

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.