Subject: re: kern/34895: panic: sched_lock: locked
To: matthew green <mrg@eterna.com.au>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: netbsd-bugs
Date: 10/26/2006 14:51:09
>   	/* XXXSMP: works, but icky */
>   	if (dolock)
>   		SCHED_LOCK(s);
> + 	else
> + 		newkp = NULL;

Are you sure that !dolock means the scheduler lock is already held?

enami.