mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Possible dual license for rbtree ?
@ 2023-04-03  9:21 Daniel Diaz
  2023-04-16 11:28 ` Daniel Diaz
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Diaz @ 2023-04-03  9:21 UTC (permalink / raw)
  To: linux-kernel

Dear Linux maintainers,

This is a question about a possible dual license for the rbtree 
implementation (lib/rbtree.c).
Please apologize if it is not the right place to ask.
Thank you for personally CC me in the answers/comments posted to the 
list in response to this post.

Looking for an efficient red-black tree implementation in C, I 
discovered the wonderful rbtree utility. I really appreciate the clever 
approach of this « invasive » implementation on the top of which one can 
build his specific maps. I saw this rbtree implementation is famous and 
widely mentioned but its usage is limited by its GPL license.

Could you consider extending this license by a dual license as allowed 
by docs.kernel.org/process/license-rules.html which states the some 
individual files can be provided under a dual license including MIT, 
BSD, etc.

Would then it be possible to release rbtree under a dual license more 
permissive, e.g. MIT ?
Be sure this would be very appreciated by a lot of C programmers !

This comes down to modyfy the SPDX descriptions of lib/rbtree.c and 
include/rbtree.h, include/rbtree_augmented.h, include/rbtree_types.h as 
follows:

     SPDX-License-Identifier: GPL-2.0-or-later OR MIT

Thank you for your attention.

Daniel



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possible dual license for rbtree ?
  2023-04-03  9:21 Possible dual license for rbtree ? Daniel Diaz
@ 2023-04-16 11:28 ` Daniel Diaz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Diaz @ 2023-04-16 11:28 UTC (permalink / raw)
  To: linux-kernel


> This comes down to modyfy the SPDX descriptions of lib/rbtree.c and include/rbtree.h, include/rbtree_augmented.h, include/rbtree_types.h as follows:

I juste realized there were 2 versions of rbtree (not dispatched exactly in same header files). The rbtree version that could be made more widely usable by a licence extension is in the tools directory and the associated source files are: tools/lib/rbtree.c, tools/include/linux/rbtree.h and tools/include/linux/rbtree_augmented.h.

Daniel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-16 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-03  9:21 Possible dual license for rbtree ? Daniel Diaz
2023-04-16 11:28 ` Daniel Diaz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®