Re: [RFC] Simple futex for gnumach (version 2)

2013-12-21 Thread Richard Braun
On Sat, Dec 21, 2013 at 11:26:37PM +0100, Marin Ramesa wrote:
> > Why not e.g. a GPL licence, even if this function is good it might 
> > not be accepted due to this.
> 
> I don't know much about licenses, I copied this from kern/slab.c. It 
> doesn't make a difference to me what license it is as long as it has 
> this 'lack of warranty' text.

It does matter. If you look closely, there are two licenses in the file
kern/slab.c. You picked up the original one, not the one covering the
GNU Mach fork. Currently, you're required to assign copyright of your
contributions to the FSF.

The slab allocator did not originate from GNU Mach and its history is a
bit messy. It is really not a good template for contributions.

-- 
Richard Braun



Re: [RFC] Simple futex for gnumach (version 2)

2013-12-21 Thread Marin Ramesa
On 21.12.2013 23:01:50, Svante Signell wrote: 
> + * Copyright (c) 2013 Marin Ramesa
> + * All rights reserved.
> + *
> ...
> Why not e.g. a GPL licence, even if this function is good it might 
> not be accepted due to this.

I don't know much about licenses, I copied this from kern/slab.c. It 
doesn't make a difference to me what license it is as long as it has 
this 'lack of warranty' text.


Re: [RFC] Simple futex for gnumach (version 2)

2013-12-21 Thread Svante Signell
On Sat, 2013-12-21 at 14:09 +0100, Marin Ramesa wrote:
> This is a simple futex implementation with a hash table, vm_map lookup, futex
> wake that wakes futexes at the same offset, dynamic allocation and a 
> per-process
> mutex for the hash table.

+ * Copyright (c) 2013 Marin Ramesa
+ * All rights reserved.
+ *
...
Why not e.g. a GPL licence, even if this function is good it might not
be accepted due to this.