Subject: Re: CVS commit: [vmlocking] src/sys
To: None <ad@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: source-changes
Date: 07/30/2007 11:29:09
> Module Name:	src
> Committed By:	ad
> Date:		Sun Jul 29 11:34:48 UTC 2007
> 
> Modified Files:
> 	src/sys/kern [vmlocking]: kern_malloc.c subr_kmem.c subr_lockdebug.c
> 	    subr_pool.c
> 	src/sys/sys [vmlocking]: lockdebug.h
> 
> Log Message:
> Trap free() of areas that contain undestroyed locks. Not a major problem
> but it helps to catch bugs.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.108.2.3 -r1.108.2.4 src/sys/kern/kern_malloc.c
> cvs rdiff -r1.14.2.2 -r1.14.2.3 src/sys/kern/subr_kmem.c
> cvs rdiff -r1.5.2.4 -r1.5.2.5 src/sys/kern/subr_lockdebug.c
> cvs rdiff -r1.128.2.4 -r1.128.2.5 src/sys/kern/subr_pool.c
> cvs rdiff -r1.3.2.1 -r1.3.2.2 src/sys/sys/lockdebug.h
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

how about making lockdebug_lookup use the hash as well, and kill lock id?

YAMAMOTO Takashi