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 09:28:39
> > 	#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.

ok, i'll write assert_sleepable() so that you can just call it. :-)

YAMAMOTO Takashi