Create the taskqueue_fast handler with INTR_MPSAFE so that it doesn't run

with Giant.

MFC After: 3 days
This commit is contained in:
Scott Long 2005-12-23 06:18:33 +00:00
parent 2fa0cf5b46
commit d2a401cb70

View File

@ -410,7 +410,7 @@ taskqueue_define_fast(void *arg)
mtx_unlock(&taskqueue_queues_mutex);
swi_add(NULL, "Fast taskq", taskqueue_fast_run,
NULL, SWI_TQ_FAST, 0, &taskqueue_fast_ih);
NULL, SWI_TQ_FAST, INTR_MPSAFE, &taskqueue_fast_ih);
}
SYSINIT(taskqueue_fast, SI_SUB_CONFIGURE, SI_ORDER_SECOND,
taskqueue_define_fast, NULL);