Subject: Re: Adding KASSERT() calls to "sys/sys/queue.h"
To: None <>
From: Christos Zoulas <>
List: tech-kern
Date: 06/17/2004 12:29:45
In article <carn33$bjm$>,
Matthias Scheler <> wrote:
>In article <>,
> (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.