* Moving Userspace RCU (urcu) from GPL to LGPL license @ 2009-02-18 18:02 Mathieu Desnoyers 2009-02-18 20:06 ` Paul E. McKenney 2009-02-18 21:34 ` Alan Cox 0 siblings, 2 replies; 5+ messages in thread From: Mathieu Desnoyers @ 2009-02-18 18:02 UTC (permalink / raw) To: Paul E. McKenney; +Cc: linux-kernel, ltt-dev, pierre-marc.fournier Hi Paul, I think that it would be good to distribute the userspace rcu work we are currently doing (ref. : http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git) as a LGPL library rather than GPL so it can be linked to the userspace part of the LTTng tracer. We want to provide this tracer as a LGPL library so proprietary applications can link to it and therefore be traceable. The only thing is that we cannot put GPL code into a LGPL library. The other point is that I use a few low-level primitives from the Linux kernel header (e.g. atomic increment for x86, barrier macros). Those are simple one-liners, but, still, I wonder about the licensing implications. I could simply "rewrite" them, but that would be a shame to have a different primitive implementation of those simple primitives in userspace and in kernel-space just for a licensing question. I would really like to keep the Linux kernel coding-style within this library. So the question would be : are those headers, distributed with the Linux kernel, distributed under GPL license ? Is there any special clause that would permit using their content under LGPL ? If not, would the community see such use favorably ? Ideas/comments are welcome. Thanks, Mathieu -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Moving Userspace RCU (urcu) from GPL to LGPL license 2009-02-18 18:02 Moving Userspace RCU (urcu) from GPL to LGPL license Mathieu Desnoyers @ 2009-02-18 20:06 ` Paul E. McKenney 2009-02-18 20:47 ` Mathieu Desnoyers 2009-02-18 21:34 ` Alan Cox 1 sibling, 1 reply; 5+ messages in thread From: Paul E. McKenney @ 2009-02-18 20:06 UTC (permalink / raw) To: Mathieu Desnoyers; +Cc: linux-kernel, ltt-dev, pierre-marc.fournier On Wed, Feb 18, 2009 at 01:02:32PM -0500, Mathieu Desnoyers wrote: > Hi Paul, > > I think that it would be good to distribute the userspace rcu work we > are currently doing (ref. : > http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git) as a > LGPL library rather than GPL so it can be linked to the userspace part > of the LTTng tracer. We want to provide this tracer as a LGPL library so > proprietary applications can link to it and therefore be traceable. The > only thing is that we cannot put GPL code into a LGPL library. Ouch! I only have approval for RCU implementations under GPL. :-( One theoretical exception is that GPL covers only distribution. Of couse, several have been known to express strong feelings about this exception. The system-library exception would seem to only cover proprietary applications that shipped with the platform, so I don't see how it is generally useful in this case. So, thoughts about the traced proprietary executables not being distributed? Or does the process of tracing them somehow distribute them in some situations? If so, can these situations be feasibly avoided by people tracing proprietary applications. > The other point is that I use a few low-level primitives from the Linux > kernel header (e.g. atomic increment for x86, barrier macros). Those are > simple one-liners, but, still, I wonder about the licensing > implications. I could simply "rewrite" them, but that would be a shame > to have a different primitive implementation of those simple primitives > in userspace and in kernel-space just for a licensing question. I would > really like to keep the Linux kernel coding-style within this library. > So the question would be : are those headers, distributed with the Linux > kernel, distributed under GPL license ? Is there any special clause that > would permit using their content under LGPL ? If not, would the > community see such use favorably ? > > Ideas/comments are welcome. My understanding is that any file in the Linux source tree that does not contain a specific license is licensed GPLv2-only courtesy of the COPYING file at the top of the source tree. Of course, I am not a lawyer, and even if I was, I doubt that I would be permitted to dispense legal advice... Thanx, Paul > Thanks, > > Mathieu > > > -- > Mathieu Desnoyers > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Moving Userspace RCU (urcu) from GPL to LGPL license 2009-02-18 20:06 ` Paul E. McKenney @ 2009-02-18 20:47 ` Mathieu Desnoyers 0 siblings, 0 replies; 5+ messages in thread From: Mathieu Desnoyers @ 2009-02-18 20:47 UTC (permalink / raw) To: Paul E. McKenney; +Cc: linux-kernel, ltt-dev, pierre-marc.fournier * Paul E. McKenney (paulmck@linux.vnet.ibm.com) wrote: > On Wed, Feb 18, 2009 at 01:02:32PM -0500, Mathieu Desnoyers wrote: > > Hi Paul, > > > > I think that it would be good to distribute the userspace rcu work we > > are currently doing (ref. : > > http://lttng.org/cgi-bin/gitweb.cgi?p=userspace-rcu.git) as a > > LGPL library rather than GPL so it can be linked to the userspace part > > of the LTTng tracer. We want to provide this tracer as a LGPL library so > > proprietary applications can link to it and therefore be traceable. The > > only thing is that we cannot put GPL code into a LGPL library. > > Ouch! I only have approval for RCU implementations under GPL. :-( > > One theoretical exception is that GPL covers only distribution. Of couse, > several have been known to express strong feelings about this exception. > The system-library exception would seem to only cover proprietary > applications that shipped with the platform, so I don't see how it is > generally useful in this case. > > So, thoughts about the traced proprietary executables not being > distributed? Or does the process of tracing them somehow distribute > them in some situations? If so, can these situations be feasibly > avoided by people tracing proprietary applications. > > > The other point is that I use a few low-level primitives from the Linux > > kernel header (e.g. atomic increment for x86, barrier macros). Those are > > simple one-liners, but, still, I wonder about the licensing > > implications. I could simply "rewrite" them, but that would be a shame > > to have a different primitive implementation of those simple primitives > > in userspace and in kernel-space just for a licensing question. I would > > really like to keep the Linux kernel coding-style within this library. > > So the question would be : are those headers, distributed with the Linux > > kernel, distributed under GPL license ? Is there any special clause that > > would permit using their content under LGPL ? If not, would the > > community see such use favorably ? > > > > Ideas/comments are welcome. > > My understanding is that any file in the Linux source tree that does not > contain a specific license is licensed GPLv2-only courtesy of the COPYING > file at the top of the source tree. > > Of course, I am not a lawyer, and even if I was, I doubt that I would > be permitted to dispense legal advice... > > Thanx, Paul > Yes, I think that it's good to limit use of such RCU primitive to GPL-only applications. It will give them an advantage over proprietary apps. As far as tracing is concerned, we might be OK with leaving LTTng userspace libs GPL, but people would have to either create a (slow) IPC-based wrapper to send the information out of their application or just to do not distribute their instrumented application. Mathieu > > Thanks, > > > > Mathieu > > > > > > -- > > Mathieu Desnoyers > > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 > -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Moving Userspace RCU (urcu) from GPL to LGPL license 2009-02-18 18:02 Moving Userspace RCU (urcu) from GPL to LGPL license Mathieu Desnoyers 2009-02-18 20:06 ` Paul E. McKenney @ 2009-02-18 21:34 ` Alan Cox 2009-02-18 21:44 ` Mathieu Desnoyers 1 sibling, 1 reply; 5+ messages in thread From: Alan Cox @ 2009-02-18 21:34 UTC (permalink / raw) To: Mathieu Desnoyers Cc: Paul E. McKenney, linux-kernel, ltt-dev, pierre-marc.fournier On Wed, 18 Feb 2009 13:02:32 -0500 Mathieu Desnoyers <compudj@krystal.dyndns.org> wrote: > only thing is that we cannot put GPL code into a LGPL library. You'll need a patent grant from IBM for non GPL use for that not just an LGPL library > The other point is that I use a few low-level primitives from the Linux > kernel header (e.g. atomic increment for x86, barrier macros). Those are > simple one-liners, but, still, I wonder about the licensing > implications. I could simply "rewrite" them, but that would be a shame Ask the author - certainly the original basic atomic ops Linus gave specific permission to the mozilla folks to use under other licences. Alan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Moving Userspace RCU (urcu) from GPL to LGPL license 2009-02-18 21:34 ` Alan Cox @ 2009-02-18 21:44 ` Mathieu Desnoyers 0 siblings, 0 replies; 5+ messages in thread From: Mathieu Desnoyers @ 2009-02-18 21:44 UTC (permalink / raw) To: Alan Cox; +Cc: Paul E. McKenney, linux-kernel, ltt-dev, pierre-marc.fournier * Alan Cox (alan@lxorguk.ukuu.org.uk) wrote: > On Wed, 18 Feb 2009 13:02:32 -0500 > Mathieu Desnoyers <compudj@krystal.dyndns.org> wrote: > > only thing is that we cannot put GPL code into a LGPL library. > > You'll need a patent grant from IBM for non GPL use for that not just an > LGPL library > > > The other point is that I use a few low-level primitives from the Linux > > kernel header (e.g. atomic increment for x86, barrier macros). Those are > > simple one-liners, but, still, I wonder about the licensing > > implications. I could simply "rewrite" them, but that would be a shame > > Ask the author - certainly the original basic atomic ops Linus gave > specific permission to the mozilla folks to use under other licences. > > Alan > Thanks Alan for this precious information. I'll discuss with IBM about possible alternatives. Mathieu -- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-02-18 21:50 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-02-18 18:02 Moving Userspace RCU (urcu) from GPL to LGPL license Mathieu Desnoyers 2009-02-18 20:06 ` Paul E. McKenney 2009-02-18 20:47 ` Mathieu Desnoyers 2009-02-18 21:34 ` Alan Cox 2009-02-18 21:44 ` Mathieu Desnoyers
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox