Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 17:16:23 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Alfred Perlstein <bright@mu.org>
Cc:        jeff@freebsd.org, <hackers@freebsd.org>
Subject:   Re: uma and double free detection?
Message-ID:  <20020327171432.U16840-100000@mail.chesapeake.net>
In-Reply-To: <20020327203236.GN93885@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 27 Mar 2002, Alfred Perlstein wrote:

> Can uma diagnose double free's?  It doesn't seem to be able to
> under a GENERIC config. :(
>

Oh! Thanks for pointing this out. Originally it could, but with the per
cpu buckets it lost the ability to until the data was really freed.  What
I will do is disable per cpu buckets if INVARIANTS is on.  The reason for
this is that you have to lock the zone and look at the slabs to do double
free detection.

Jeff


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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