Re: [PATCH] Lightweight userspace semaphores...

Linus Torvalds (torvalds@transmeta.com)
Sat, 23 Feb 2002 10:20:04 -0800 (PST)


On Sat, 23 Feb 2002, Ingo Molnar wrote:
>
> On Sat, 23 Feb 2002, Rusty Russell wrote:
>
> > 1) Interface is: open /dev/usem, pread, pwrite.
>
> i like the patch, but the interface is ugly IMO. Why not new syscalls?

I agree - I dislike magic device files a whole lot more than just abotu
every alternative.

Also, one thing possibly worth looking into is to just put the actual
semaphore contents into a regular file backed setup.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/