Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys



Jason R Thorpe <thorpej%netbsd.org@localhost> writes:

> Module Name:  syssrc
> Committed By: thorpej
> Date:         Fri Aug 17 00:48:31 UTC 2001
> 
> Modified Files:
>       syssrc/sys/conf: files
>       syssrc/sys/kern: kern_malloc.c
>       syssrc/sys/sys: malloc.h
> Added Files:
>       syssrc/sys/kern: kern_malloc_debug.c
> 
> Log Message:
> Artur Grabowski's simple brute-force malloc debugger, which uses
> guard pages.

brute-force... I like that description. :)

> Can only debug one malloc type at a time, and nothing
> larger than 1 page.

This is not really true. You can wildcard the type and debug one size or
a size range.
The 1 page limit is there because I never needed to debug anything bigger
than that and it would just make the code more complicated.

> Modified from code in OpenBSD.

It could have been fun if you sent me the modifications so that both
"versions" wouldn't diverge too much. Any reason to have two different
versions?

//art



Home | Main Index | Thread Index | Old Index