cvs commit: src/sys/kern kern_prot.c uipc_socket.c uipc_socket2.c uipc_usrreq.c src/sys/net raw_cb.c raw_cb.h raw_usrreq.c rtsock.c src/sys/netgraph/socket ng_socket.c src/sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_usrreq.c udp_usrreq.c ...
Jeffrey Hsu
hsu at crater.dragonflybsd.org
Fri Mar 5 08:59:47 PST 2004
hsu 2004/03/05 08:57:17 PST
DragonFly src repository
Modified files:
sys/kern kern_prot.c uipc_socket.c uipc_socket2.c
uipc_usrreq.c
sys/net raw_cb.c raw_cb.h raw_usrreq.c rtsock.c
sys/netgraph/socket ng_socket.c
sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c
tcp_usrreq.c udp_usrreq.c
sys/netinet6 raw_ip6.c udp6_usrreq.c
sys/netproto/atm atm_usrreq.c
sys/netproto/ipx ipx_usrreq.c spx_usrreq.c
sys/netproto/key keysock.c
sys/netproto/natm natm.c
sys/netproto/smb smb_trantcp.c
sys/sys proc.h protosw.h socketops.h socketvar.h
sys/vfs/nfs nfs_socket.c nfs_syscalls.c
sys/vfs/portal portal_vnops.c
Log:
Once we distribute socket protocol processing requests to different
processors, we no longer have a process context to refer to, so
eliminate the use of curproc in soreserve() by passing the sockbuf
resource limit all the down from the system call code to sbreserve().
Eliminate the use of curproc in unp_attach() by passing down the
fields it needs from the proc structure. Define a pru_attach_info
structure to hold the information the attach usrreq function requires.
The thread argument to in_pcballoc() is unused, so we don't need
to pass a thread structure down to in_pcballoc().
Revision Changes Path
1.15 +11 -1 src/sys/kern/kern_prot.c
1.15 +7 -2 src/sys/kern/uipc_socket.c
1.7 +13 -17 src/sys/kern/uipc_socket2.c
1.12 +9 -8 src/sys/kern/uipc_usrreq.c
1.5 +2 -4 src/sys/net/raw_cb.c
1.4 +1 -1 src/sys/net/raw_cb.h
1.5 +4 -4 src/sys/net/raw_usrreq.c
1.9 +2 -2 src/sys/net/rtsock.c
1.6 +3 -3 src/sys/netgraph/socket/ng_socket.c
1.12 +1 -1 src/sys/netinet/in_pcb.c
1.7 +1 -1 src/sys/netinet/in_pcb.h
1.8 +4 -4 src/sys/netinet/ip_divert.c
1.10 +4 -4 src/sys/netinet/raw_ip.c
1.7 +7 -6 src/sys/netinet/tcp_usrreq.c
1.12 +3 -3 src/sys/netinet/udp_usrreq.c
1.10 +4 -4 src/sys/netinet6/raw_ip6.c
1.10 +4 -3 src/sys/netinet6/udp6_usrreq.c
1.8 +3 -5 src/sys/netproto/atm/atm_usrreq.c
1.6 +14 -10 src/sys/netproto/ipx/ipx_usrreq.c
1.6 +10 -9 src/sys/netproto/ipx/spx_usrreq.c
1.8 +2 -2 src/sys/netproto/key/keysock.c
1.10 +6 -4 src/sys/netproto/natm/natm.c
1.9 +3 -1 src/sys/netproto/smb/smb_trantcp.c
1.44 +2 -1 src/sys/sys/proc.h
1.6 +7 -1 src/sys/sys/protosw.h
1.2 +2 -2 src/sys/sys/socketops.h
1.9 +4 -2 src/sys/sys/socketvar.h
1.13 +4 -1 src/sys/vfs/nfs/nfs_socket.c
1.12 +2 -1 src/sys/vfs/nfs/nfs_syscalls.c
1.10 +2 -1 src/sys/vfs/portal/portal_vnops.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_prot.c.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.14&r2=1.15&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket2.c.diff?r1=1.6&r2=1.7&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_usrreq.c.diff?r1=1.11&r2=1.12&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/raw_cb.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/raw_cb.h.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/raw_usrreq.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/rtsock.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/socket/ng_socket.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/in_pcb.c.diff?r1=1.11&r2=1.12&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/in_pcb.h.diff?r1=1.6&r2=1.7&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_divert.c.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/raw_ip.c.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/tcp_usrreq.c.diff?r1=1.6&r2=1.7&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/udp_usrreq.c.diff?r1=1.11&r2=1.12&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/raw_ip6.c.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netinet6/udp6_usrreq.c.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/atm/atm_usrreq.c.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/ipx_usrreq.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/ipx/spx_usrreq.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/key/keysock.c.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/natm/natm.c.diff?r1=1.9&r2=1.10&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/smb/smb_trantcp.c.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.43&r2=1.44&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/protosw.h.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketops.h.diff?r1=1.1&r2=1.2&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketvar.h.diff?r1=1.8&r2=1.9&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_socket.c.diff?r1=1.12&r2=1.13&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_syscalls.c.diff?r1=1.11&r2=1.12&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/portal/portal_vnops.c.diff?r1=1.9&r2=1.10&f=h
More information about the Commits
mailing list