cvs commit: src/sys/sys socketvar.h src/sys/kern uipc_socket.c uipc_socket2.c

Jeffrey Hsu hsu at crater.dragonflybsd.org
Mon Mar 28 11:55:05 PST 2005


hsu         2005/03/28 11:53:30 PST

DragonFly src repository

  Modified files:
    sys/sys              socketvar.h 
    sys/kern             uipc_socket.c uipc_socket2.c 
  Log:
  Keep a hint for the last packet in the singly-linked list of packets
  in a sockbuf in order to convert the cost of append operations from
  O(n) to O(1).
  
  Revision  Changes    Path
  1.18      +3 -1      src/sys/sys/socketvar.h
  1.28      +12 -6     src/sys/kern/uipc_socket.c
  1.16      +28 -23    src/sys/kern/uipc_socket2.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/socketvar.h.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_socket2.c.diff?r1=1.15&r2=1.16&f=u





More information about the Commits mailing list