DragonFly commits List (threaded) for 2005-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/sys socketvar.h src/sys/kern uipc_socket.c uipc_socket2.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]