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.
---
Makefrag.am | 2 +
kern/futex.c | 255 +++
kern/f
I noticed some bugs. I'm sending a fixed patch. The prevoius version is here:
http://lists.gnu.org/archive/html/bug-hurd/2013-12/msg00493.html
---
Makefrag.am | 2 +
kern/futex.c | 364 +++
kern/futex.h | 110 ++
3 files c
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 right
On Sat, Dec 21, 2013 at 10:55:14PM +0100, Marin Ramesa wrote:
> I noticed some bugs. I'm sending a fixed patch. The prevoius version is here:
> http://lists.gnu.org/archive/html/bug-hurd/2013-12/msg00493.html
How about adding everything necessary to actually test it from
userspace ?
--
Richard B
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
doe
On 21.12.2013 23:20:43, Richard Braun wrote:
> On Sat, Dec 21, 2013 at 10:55:14PM +0100, Marin Ramesa wrote:
> > I noticed some bugs. I'm sending a fixed patch. The prevoius
> > version is here:
> > http://lists.gnu.org/archive/html/bug-hurd/2013-12/msg00493.html
>
> How about adding everything n
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 l
On Sat, Dec 21, 2013 at 11:29:34PM +0100, Marin Ramesa wrote:
> On 21.12.2013 23:20:43, Richard Braun wrote:
> > How about adding everything necessary to actually test it from
> > userspace ?
>
> Sure, what needs to be added? I don't have the conditions to test this.
> I earlier wrote some proof-