Re: questions on nonsleepable lock

看板FB_hackers作者時間18年前 (2007/08/15 23:24), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/7 (看更多)
On Wed, Aug 15, 2007 at 05:10:48PM +0800, Nex Mon wrote: > thanks for your reply. > > i didn't use WITNESS. it is disabled. > > is their a list a list of which locks are sleepable and non-sleepable > in FreeBSD6.2? is sleeping triggered by a call to "sleep", IO operation > or a result of context switching by kernel? all locks except sx and Giant are nonsleepable, sleeping can be triggered by calling foo_sleep() and/or by calling a sleeping function (like io etc.) _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16mngp00 (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #16mngp00 (FB_hackers)