Re: furwocks: Fast Userspace Read/Write Locks

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Fri Mar 08 2002 - 02:09:18 EST


In message <3C885A58.4040307@zytor.com> you write:
> Okay, dumb question...
>
> What can this do that shared memory + existing semaphores can't do?
>
> -hpa

Ignoring speed issues and the fundamentally horrible interface of SysV
semaphores, there are two main issues:

1) There's a limit on the number of SysV semaphores you can have.
2) Instead of one object to deal with (ie. a memory region), you now
   have two, with different lifetimes.

Hope that clarifies,
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:07 EST