From owner-cvs-sys Wed Apr 2 21:14:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA26671 for cvs-sys-outgoing; Wed, 2 Apr 1997 21:14:50 -0800 (PST) Received: (from davidg@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id VAA26664; Wed, 2 Apr 1997 21:14:48 -0800 (PST) Date: Wed, 2 Apr 1997 21:14:48 -0800 (PST) From: David Greenman Message-Id: <199704030514.VAA26664@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h ip_divert.c ip_output.c raw_ip.c tcp_output.c tcp_subr.c udp_usrreq.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 97/04/02 21:14:47 Modified: sys/netinet in_pcb.c in_pcb.h ip_divert.c ip_output.c raw_ip.c tcp_output.c tcp_subr.c udp_usrreq.c Log: Reorganize elements of the inpcb struct to take better advantage of cache lines. Removed the struct ip proto since only a couple of chars were actually being used in it. Changed the order of compares in the PCB hash lookup to take advantage of partial cache line fills (on PPro). Discussed-with: wollman Revision Changes Path 1.30 +4 -3 src/sys/netinet/in_pcb.c 1.20 +12 -6 src/sys/netinet/in_pcb.h 1.8 +2 -2 src/sys/netinet/ip_divert.c 1.53 +5 -5 src/sys/netinet/ip_output.c 1.44 +4 -4 src/sys/netinet/raw_ip.c 1.24 +3 -3 src/sys/netinet/tcp_output.c 1.36 +2 -2 src/sys/netinet/tcp_subr.c 1.37 +4 -4 src/sys/netinet/udp_usrreq.c