Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: ad
Date: Thu Mar 20 19:23:15 UTC 2008
Modified Files:
src/sys/kern: sys_socket.c uipc_socket.c
src/sys/sys: socketvar.h
Log Message:
- Extract the guts of soo_poll() into sopoll(), which takes a struct socket *.
This is for netsmb which wants to poll sockets directly.
- When polling a socket, first check for pending I/O without acquring any
locks. If no I/O seems to be pending, acquire locks/spl and check again
doing selrecord() if necessary.
To generate a diff of this commit:
cvs rdiff -r1.53 -r1.54 src/sys/kern/sys_socket.c
cvs rdiff -r1.153 -r1.154 src/sys/kern/uipc_socket.c
cvs rdiff -r1.102 -r1.103 src/sys/sys/socketvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index