CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2013/06/03 06:32:06
Modified files:
sys/net : if_ethersubr.c
Log message:
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@