Date: Tue, 24 Mar 1998 10:06:39 -0800 (PST) From: Garrett Wollman <wollman@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c Message-ID: <199803241806.KAA26249@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wollman 1998/03/24 10:06:38 PST Modified files: sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c Log: Use the zone allocator to allocate inpcbs and tcpcbs. Each protocol creates its own zone; this is used particularly by TCP which allocates both inpcb and tcpcb in a single allocation. (Some hackery ensures that the tcpcb is reasonably aligned.) Also keep track of the number of pcbs of each type allocated, and keep a generation count (instance version number) for future use. Revision Changes Path 1.40 +9 -4 src/sys/netinet/in_pcb.c 1.24 +27 -10 src/sys/netinet/in_pcb.h 1.21 +4 -1 src/sys/netinet/ip_divert.c 1.52 +4 -1 src/sys/netinet/raw_ip.c 1.43 +46 -8 src/sys/netinet/tcp_subr.c 1.45 +4 -1 src/sys/netinet/udp_usrreq.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803241806.KAA26249>