diff options
author | 2013-06-03 12:32:06 +0000 | |
---|---|---|
committer | 2013-06-03 12:32:06 +0000 | |
commit | 0cc8009b439a6446b9fc18e91e78c9d24c948ab5 (patch) | |
tree | 81e3208b1ae8643306b6ffa399b5727d969eb408 /sys/netinet/tcp_input.c | |
parent | sprinkle $OpenBSD$, pointed out by pedro (diff) | |
download | wireguard-openbsd-0cc8009b439a6446b9fc18e91e78c9d24c948ab5.tar.xz wireguard-openbsd-0cc8009b439a6446b9fc18e91e78c9d24c948ab5.zip |
Replace "hot" bcopy() calls in ether_output() with memcpy(). This tells the
compiler that source and destination are not overlapping, allowing for more
aggressive optimization, leading to a significant performance improvement
on busy firewalls. Reworking of a diff by dlg@, who did the hard work of
benchmarking this.
ok deraadt@, mikeb@, henning@, mcbride@, tedu@, matthew@
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions