From owner-freebsd-current Fri Mar 20 11:06:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA00473 for freebsd-current-outgoing; Fri, 20 Mar 1998 11:06:33 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA00407 for ; Fri, 20 Mar 1998 11:06:16 -0800 (PST) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id MAA16870; Fri, 20 Mar 1998 12:06:15 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp03.primenet.com, id smtpd016848; Fri Mar 20 12:06:12 1998 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id MAA17435; Fri, 20 Mar 1998 12:06:10 -0700 (MST) From: Terry Lambert Message-Id: <199803201906.MAA17435@usr05.primenet.com> Subject: Re: 4 WILLRELE's to bite the dust To: michaelh@cet.co.jp (Michael Hancock) Date: Fri, 20 Mar 1998 19:06:10 +0000 (GMT) Cc: phk@critter.freebsd.dk, freebsd-current@FreeBSD.ORG In-Reply-To: from "Michael Hancock" at Mar 20, 98 10:11:14 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I tagged through ufs_makeinode which is shared by a few vops, but I'm sure > I've got all of them. Here are the diffs that Mike Smith has with > vop_link and vop_rmdir dvp's done. If it's a vnode leak, then they should > go away by implementing everything unless I'm vreleing the wrong thing and > in that case we should get a panic in getnewvnode. > > Are you using ipfilter? This also makes vop calls. > > Did you have a chance to look at vmstat -m before the crash? You probably want to get: http://www.freebsd.org/~terry/testset.txt http://www.freebsd.org/~terry/testset.tar.gz.uu Which is a test toolkit that knows how to detect kernel memory leaks over a series of system calls used to exercise various code paths. The sample implementation looks for namei() path buffer leaks; I used it to verify the nameifree() code before I submitted it the first time. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message