Date: Sat, 8 Jun 1996 01:19:11 -0700 (PDT) From: Bruce Evans <bde> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa random_machdep.c src/sys/net bpf.c src/sys/netinet if_ether.c ip_input.c ip_output.c tcp_output.c udp_usrreq.c Message-ID: <199606080819.BAA05259@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 96/06/08 01:19:10
Modified: sys/i386/isa random_machdep.c
Log:
Replaced some memcpy()'s by bcopy()'s.
gcc only inlines memcpy()'s whose count is constant and didn't inline
these. I want memcpy() in the kernel go away so that it's obvious that
it doesn't need to be optimized. Now it is only used for one struct
copy in si.c.
Revision Changes Path
1.7 +3 -3 src/sys/i386/isa/random_machdep.c
Modified: sys/net bpf.c
sys/netinet if_ether.c ip_input.c ip_output.c tcp_output.c
udp_usrreq.c
Log:
Changed some memcpy()'s back to bcopy()'s.
gcc only inlines memcpy()'s whose count is constant and didn't inline
these. I want memcpy() in the kernel go away so that it's obvious that
it doesn't need to be optimized. Now it is only used for one struct
copy in si.c.
Revision Changes Path
1.26 +2 -2 src/sys/net/bpf.c
1.30 +2 -2 src/sys/netinet/if_ether.c
1.43 +2 -2 src/sys/netinet/ip_input.c
1.40 +5 -5 src/sys/netinet/ip_output.c
1.21 +2 -2 src/sys/netinet/tcp_output.c
1.28 +2 -2 src/sys/netinet/udp_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606080819.BAA05259>
