Subject: Re: Adding KASSERT() calls to "sys/sys/queue.h"
To: None <tech-kern@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 06/17/2004 12:29:45
In article <carn33$bjm$1@colwyn.zhadum.de>,
Matthias Scheler <tron@zhadum.de> wrote:
>In article <HzFIFp.Kno@tac.nyc.ny.us>,
>	christos@zoulas.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.

christos