tcpcb (was Re: sockbuf (was Re: BGL-free net stack))

Aggelos Economopoulos aoiko at cc.ece.ntua.gr
Sun Jun 8 11:01:11 PDT 2008


On Sunday 08 June 2008, Aggelos Economopoulos wrote:
> On Friday 06 June 2008, Aggelos Economopoulos wrote:
> [...]
> > In other news, the new sockbuf code is operational and after I squash an nfs
> > bug and simplify it a bit I'm going to ask for testers. I expected it to be at
> > this stage at least a couple of weeks ago but life and a few silly bugs
> > intervened.
> 
> Well, quite a few know issues remain (see
> http://wiki.dragonflybsd.org/index.cgi/NetMP) and the sb_*_cc_*() interface is
> butt-ugly and has to go, but at this point some testing would be helpful. So,
> anybody feeling adventurous please pull the sockbuf branch from
> git://repo.or.cz/dragonfly/netmp.git,

Oh and if you just want to review the changes you can get the patch from

http://leaf.dragonflybsd.org/~aggelos/A1-sockbuf.patch

This won't apply to current HEAD of course.

 kern/sys_socket.c           |    8
 kern/uipc_mbuf.c            |    8
 kern/uipc_sockbuf.c         |  741 ++++++++++++++++++++------------------------
 kern/uipc_socket.c          |  194 ++++++-----
 kern/uipc_socket2.c         |   46 --
 kern/uipc_syscalls.c        |    2
 kern/uipc_usrreq.c          |   25 -
 net/accf_http/accf_http.c   |    9
 net/ip_mroute/ip_mroute.c   |    4
 net/raw_usrreq.c            |    5
 netbt/bluetooth.h           |    4
 netbt/hci_socket.c          |    6
 netbt/l2cap_socket.c        |    6
 netbt/rfcomm_socket.c       |    6
 netbt/sco_socket.c          |    8
 netgraph/socket/ng_socket.c |    4
 netinet/ip_divert.c         |    2
 netinet/raw_ip.c            |    5
 netinet/tcp_input.c         |   60 ++-
 netinet/tcp_output.c        |   41 +-
 netinet/tcp_sack.c          |    5
 netinet/tcp_usrreq.c        |   11
 netinet/tcp_var.h           |    2
 netinet/udp_usrreq.c        |    5
 netinet6/icmp6.c            |    5
 netinet6/ip6_mroute.c       |    3
 netinet6/raw_ip6.c          |    5
 netinet6/sctp6_usrreq.c     |    2
 netinet6/udp6_usrreq.c      |    9
 netproto/atalk/ddp_input.c  |    2
 netproto/atm/atm_aal5.c     |    2
 netproto/ipsec/keysock.c    |    4
 netproto/ipx/ipx_usrreq.c   |    2
 netproto/ipx/spx_usrreq.c   |   14
 netproto/key/keysock.c      |    5
 netproto/natm/natm.c        |    5
 netproto/ncp/ncp_ncp.c      |    2
 netproto/ns/idp_usrreq.c    |    2
 netproto/ns/spp_usrreq.c    |   14
 sys/mbuf.h                  |   26 +
 sys/protosw.h               |    1
 sys/sockbuf.h               |  188 ++++++++---
 sys/socketops.h             |    6
 sys/socketvar.h             |  158 +++++----
 sys/socketvar2.h            |  152 +++++++--
 sys/unpcb.h                 |    1
 vfs/fifofs/fifo_vnops.c     |    5
 vfs/nfs/krpc_subr.c         |   12
 vfs/nfs/nfs_socket.c        |   79 ++--
 49 files changed, 1110 insertions(+), 801 deletions(-)





More information about the Kernel mailing list