Subject: Re: pool problems, TAILQ, and more...
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Brian C. Grayson <bgrayson@orac.ece.utexas.edu>
List: tech-kern
Date: 03/30/2000 23:58:43
On Wed, Mar 29, 2000 at 09:24:26PM +0200, Manuel Bouyer wrote:
>
> Find at which offset in the pool item the data is modified. Then
> translate this in the original structure (the one of the data this item
> is used for), and check at which place(s) this is written. Then add a check
> at these places to know if the pool item is already free or not (one way
> would be to check for 0xdeadbeef at the begining of the pool item).
I've done something similar. Unfortunately, I must still not
have enough checks inserted (only 281 checks inserted so far!).
I'll keep adding more. I'm about ready to hack gcc to insert
a check at every function call! :)
Thanks.
Brian