aha/net/dccp
Andrea Bittau d23ca15a21 [DCCP] ACKVEC: Optimization - Do not traverse records if none will be found
Do not traverse the list of ack vector records [proportional to window size]
when we know we will not find what we are looking for.  This is especially
useful because ack vectors are checked twice:
1) Upon parsing of options.
2) Upon notification of a new ack.

All of the work will occur during check #1.  Therefore, when check #2 is
performed, no new work will be done.  This is now "detected" and there is no
performance hit when doing #2.

Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2006-12-02 21:22:31 -08:00
..
ccids [DCCP]: fix printk format warnings 2006-10-30 15:24:37 -08:00
ackvec.c [DCCP] ACKVEC: Optimization - Do not traverse records if none will be found 2006-12-02 21:22:31 -08:00
ackvec.h [DCCP]: Update documentation references. 2006-10-24 16:17:51 -07:00
ccid.c [DCCP] CCID: Improve CCID infrastructure 2006-03-20 19:21:44 -08:00
ccid.h [DCCP] options: Make dccp_insert_options & friends yell on error 2006-03-20 22:32:06 -08:00
dccp.h [DCCP]: Introduce a consistent naming scheme for sysctls 2006-12-02 21:22:19 -08:00
diag.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
feat.c [DCCP]: Make feature negotiation more readable 2006-12-02 21:22:29 -08:00
feat.h [DCCP]: Make feature negotiation more readable 2006-12-02 21:22:29 -08:00
input.c [DCCP]: Update code comments for Step 2/3 2006-12-02 21:22:04 -08:00
ipv4.c [DCCP]: Miscellaneous code tidy-ups 2006-12-02 21:22:30 -08:00
ipv6.c [DCCP]: Miscellaneous code tidy-ups 2006-12-02 21:22:30 -08:00
ipv6.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [DCCP]: Fix DCCP Probe Typo 2006-12-02 21:22:01 -08:00
Makefile [DCCPv6]: Resolve conditional build problem 2006-12-02 21:22:28 -08:00
minisocks.c [DCCP]: Introduce a consistent naming scheme for sysctls 2006-12-02 21:22:19 -08:00
options.c [DCCP]: Miscellaneous code tidy-ups 2006-12-02 21:22:30 -08:00
output.c [DCCP]: Miscellaneous code tidy-ups 2006-12-02 21:22:30 -08:00
probe.c [NET]: Fix kfifo_alloc() error check. 2006-11-25 15:16:49 -08:00
proto.c [DCCP]: Miscellaneous code tidy-ups 2006-12-02 21:22:30 -08:00
sysctl.c [DCCP]: Introduce a consistent naming scheme for sysctls 2006-12-02 21:22:19 -08:00
timer.c [DCCP]: Remove forward declarations in timer.c 2006-12-02 21:22:20 -08:00