From owner-freebsd-hackers Wed Mar 27 14:16:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by hub.freebsd.org (Postfix) with ESMTP id 7DFC437B419; Wed, 27 Mar 2002 14:16:30 -0800 (PST) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id g2RMGNo41458; Wed, 27 Mar 2002 17:16:23 -0500 (EST) (envelope-from jroberson@chesapeake.net) Date: Wed, 27 Mar 2002 17:16:23 -0500 (EST) From: Jeff Roberson To: Alfred Perlstein Cc: jeff@freebsd.org, Subject: Re: uma and double free detection? In-Reply-To: <20020327203236.GN93885@elvis.mu.org> Message-ID: <20020327171432.U16840-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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