Hello!
> (sock_register/unregister()) and readers - sock_create(). Is there a
> reason why one can't just use read/write spinlocks for this?
sock_create() sleeps.
When this part was written, rw semaphores still did not exist.
It could be replaced with rw semaphore.
Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:22 EST