Hi,
I looked at net/socket.c and noticed a rather unusual way of protecting
the array of registered protocol families against writers
(sock_register/unregister()) and readers - sock_create(). Is there a
reason why one can't just use read/write spinlocks for this?
Regards,
Tigran
-
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