Subject: Re: Adding KASSERT() calls to "sys/sys/queue.h"
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 06/17/2004 12:29:45
In article <firstname.lastname@example.org>,
Matthias Scheler <email@example.com> wrote:
>In article <HzFIFp.Kno@tac.nyc.ny.us>,
> firstname.lastname@example.org (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.