From owner-freebsd-current Wed Sep 16 14:53:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA15711 for freebsd-current-outgoing; Wed, 16 Sep 1998 14:53:29 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA15573 for ; Wed, 16 Sep 1998 14:52:39 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id OAA11785; Wed, 16 Sep 1998 14:52:15 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp04.primenet.com, id smtpd011683; Wed Sep 16 14:52:05 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id OAA28647; Wed, 16 Sep 1998 14:51:53 -0700 (MST) From: Terry Lambert Message-Id: <199809162151.OAA28647@usr04.primenet.com> Subject: Re: wierd kernel memory use statistics To: Don.Lewis@tsc.tdk.com (Don Lewis) Date: Wed, 16 Sep 1998 21:51:53 +0000 (GMT) Cc: mike@smith.net.au, gibbs@plutotech.com, current@FreeBSD.ORG In-Reply-To: <199809161029.DAA01972@salsa.gv.tsc.tdk.com> from "Don Lewis" at Sep 16, 98 03:29:32 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 > } Sounds like another CAM wrinkle; I expect we're going to see a few of > } these before the week is out. It shouldn't be particularly harmful - > } the numbers are just for accounting's sake. > > Good call. > > --- cam/cam_xpt.c.orig Tue Sep 15 20:32:09 1998 > +++ cam/cam_xpt.c Wed Sep 16 03:08:41 1998 > @@ -5137,7 +5137,7 @@ > static void > probecleanup(struct cam_periph *periph) > { > - free(periph->softc, M_TEMP); > + free(periph->softc, M_DEVBUF); > } Actually, this wasn't harmful... but this type of statistic is generally associated with freeing already free memory, which is *very* harmful. I'm glad it wasn't as bad as it could have been... 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