Subject: Re: Adding KASSERT() calls to "sys/sys/queue.h"
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 06/17/2004 12:29:45
In article <email@example.com>,
Matthias Scheler <firstname.lastname@example.org> wrote:
>In article <HzFIFp.Kno@tac.nyc.ny.us>,
> email@example.com (Christos Zoulas) writes:
>> I think that we need to have sanity checks in the pooling code, ...
>Yes, we should. But the pooling code isn't the only consumer of "sys/queue.h".
>So adding KASSERT() calls there is a different issue.
I really don't like this checks because they only catch one kind of problem
(malloc immediately after free'ing a used pointer) and they have high
overhead and clutter.