Subject: Re: malloc_usable_size () call under NetBSD
To: None <tech-kern@NetBSD.org>
From: Vincent <10.50@free.fr>
List: tech-kern
Date: 07/20/2007 14:21:18
Joerg,

> If we ever want to get this into pkgsrc, DO NOT USE THAT CALL. It is
> completely bogus exposure of malloc internals. Check carefully for what
> they use it. It is either a (stupid) attempt to optimise behind the back
> of realloc or fundamentally broken.

I think they use it for debug purposes, and I agree this is totally 
stupid and potentially dangereous. Yet, if what you (we) think is sound, 
why the FreeBSD team has added it?

Just wondering,
Vincent