Re: Another question on locking...

2003-06-29 Thread Robert Watson
The locking in the -CURRENT tree for the socket stack is currently incomplete; something we hope greatly to remedy on the way to 5.2-RELEASE. So currently all this code runs under the Giant lock, which is why it's safe. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects [EMAIL

Another question on locking...

2003-06-29 Thread George V. Neville-Neil
Hi, Looking at the code in uipc_socket.c and udp_usrreq.c I am a bit confused as to how the locking mechanism works between the sockets and the protocols. The socket calls all occur under Giant, which the protocols do not deal with, and the protocols all lo