cvs commit: src/sys/sys src/sys/kern src/sys/netinet

Jeffrey Hsu hsu at crater.dragonflybsd.org
Wed Dec 8 16:01:11 PST 2004


hsu         2004/12/08 15:59:01 PST

DragonFly src repository

  Modified files:
    sys/sys              socketvar.h 
    sys/kern             uipc_socket.c uipc_socket2.c 
    sys/netinet          tcp_input.c tcp_usrreq.c 
  Log:
  Cache a pointer the last mbuf in the sockbuf for faster insertion.
  Update it on sockbuf insertion and deletion and on user reads.
  Add a new sbappendstream() function that inserts in constant time.
  Use it for TCP.
  
  Revision  Changes    Path
  1.15      +2 -0      src/sys/sys/socketvar.h
  1.26      +5 -1      src/sys/kern/uipc_socket.c
  1.14      +19 -3     src/sys/kern/uipc_socket2.c
  1.45      +3 -3      src/sys/netinet/tcp_input.c
  1.29      +2 -2      src/sys/netinet/tcp_usrreq.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketvar.h.diff?r1=1.14&r2=1.15&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket2.c.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/tcp_input.c.diff?r1=1.44&r2=1.45&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/tcp_usrreq.c.diff?r1=1.28&r2=1.29&f=u





More information about the Commits mailing list