Subject: Re: kauth sleepability (Re: CVS commit: src/share/man/man9)
To: None <elad@NetBSD.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 07/21/2006 17:24:40
> > > 	#if defined(LOCKDEBUG)
> > > 		spinlock_switchcheck();
> > > 		simple_lock_only_held(NULL, "kauth_authorize_action");
> > > 	#endif
> > 
> > always panics with "cpu 0 have 1 spin locks".
> 
> ah, kernel lock.

actually, as kernel_lock is handled by simple_lock_only_held, 
there shouldn't be a problem in the above fragment itself.

can you explain how it "always panics"?
do you have a backtrace?

YAMAMOTO Takashi