Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 1998 21:51:53 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        Don.Lewis@tsc.tdk.com (Don Lewis)
Cc:        mike@smith.net.au, gibbs@plutotech.com, current@FreeBSD.ORG
Subject:   Re: wierd kernel memory use statistics
Message-ID:  <199809162151.OAA28647@usr04.primenet.com>
In-Reply-To: <199809161029.DAA01972@salsa.gv.tsc.tdk.com> from "Don Lewis" at Sep 16, 98 03:29:32 am

next in thread | previous in thread | raw e-mail | index | archive | help
> } 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809162151.OAA28647>