Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



hi,

> Module Name:  src
> Committed By: christos
> Date:         Tue Dec 20 23:56:29 UTC 2011
> 
> Modified Files:
>       src/sys/compat/linux/common: linux_socket.c
>       src/sys/dev: kttcp.c
>       src/sys/kern: sys_socket.c uipc_socket.c uipc_socket2.c uipc_syscalls.c
>       src/sys/miscfs/fifofs: fifo_vnops.c
>       src/sys/netiso: tp_usrreq.c
>       src/sys/sys: socket.h socketvar.h
> 
> Log Message:
> - Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.

why?
i thought the reason of having this as a separate member was performance.

YAMAMOTO Takashi

> - Introduce MSG_NBIO so that we can turn non blocking i/o on a per call basis
> - Use MSG_NBIO to fix the XXX: multi-threaded issues on the fifo sockets.
> - Don't set SO_CANTRCVMORE, if we were interrupted (perhaps do it for all
>   errors?).
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.110 -r1.111 src/sys/compat/linux/common/linux_socket.c
> cvs rdiff -u -r1.28 -r1.29 src/sys/dev/kttcp.c
> cvs rdiff -u -r1.64 -r1.65 src/sys/kern/sys_socket.c
> cvs rdiff -u -r1.205 -r1.206 src/sys/kern/uipc_socket.c
> cvs rdiff -u -r1.109 -r1.110 src/sys/kern/uipc_socket2.c
> cvs rdiff -u -r1.148 -r1.149 src/sys/kern/uipc_syscalls.c
> cvs rdiff -u -r1.70 -r1.71 src/sys/miscfs/fifofs/fifo_vnops.c
> cvs rdiff -u -r1.40 -r1.41 src/sys/netiso/tp_usrreq.c
> cvs rdiff -u -r1.100 -r1.101 src/sys/sys/socket.h
> cvs rdiff -u -r1.126 -r1.127 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