Mark sleepqueue chain spin mutexes are recursable since the sleepq code

now recurses on them in sleepq_broadcast() and sleepq_signal() when
resuming threads that are fully asleep.

MFC after:	1 week
This commit is contained in:
John Baldwin 2008-02-13 23:36:56 +00:00
parent 13c85a48df
commit bf49347744

View File

@ -177,7 +177,7 @@ init_sleepqueues(void)
for (i = 0; i < SC_TABLESIZE; i++) {
LIST_INIT(&sleepq_chains[i].sc_queues);
mtx_init(&sleepq_chains[i].sc_lock, "sleepq chain", NULL,
MTX_SPIN);
MTX_SPIN | MTX_RECURSE);
#ifdef SLEEPQUEUE_PROFILING
snprintf(chain_name, sizeof(chain_name), "%d", i);
chain_oid = SYSCTL_ADD_NODE(NULL,