Subject: CVS commit: src/sys/kern
To: None <source-changes@netbsd.org>
From: Frank van der Linden <fvdl@netbsd.org>
List: source-changes
Date: 05/06/2003 18:07:58
Module Name: src
Committed By: fvdl
Date: Tue May 6 18:07:58 UTC 2003
Modified Files:
src/sys/kern: kern_malloc.c
Log Message:
In the KMEMSTATS && DIAGNOSTIC case, add a check for inuse already being 0
at free() time. This will at least catch an alloc/free mismatch early in
boot, rather than having it hang hard because of a wrapped ks_limit.
To generate a diff of this commit:
cvs rdiff -r1.78 -r1.79 src/sys/kern/kern_malloc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.