From owner-cvs-sys Tue Mar 24 13:02:10 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA29828 for cvs-sys-outgoing; Tue, 24 Mar 1998 13:02:10 -0800 (PST) (envelope-from owner-cvs-sys) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA29810; Tue, 24 Mar 1998 13:02:03 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id MAA25934; Tue, 24 Mar 1998 12:56:16 -0800 (PST) Message-Id: <199803242056.MAA25934@implode.root.com> To: Garrett Wollman cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c In-reply-to: Your message of "Tue, 24 Mar 1998 10:06:39 PST." <199803241806.KAA26249@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Tue, 24 Mar 1998 12:56:16 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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. Reviewed-by: dg -DG David Greenman Core-team/Principal Architect, The FreeBSD Project