Subject: Re: malloc_usable_size () call under NetBSD
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-kern
Date: 07/20/2007 18:40:22
In article <46A0A8BE.9060302@free.fr>, Vincent  <10.50@free.fr> wrote:
>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

I would ask them :-)

christos