From d2a401cb70cf1d6f65806f59bb4ff8bc5996ab49 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Fri, 23 Dec 2005 06:18:33 +0000 Subject: [PATCH] Create the taskqueue_fast handler with INTR_MPSAFE so that it doesn't run with Giant. MFC After: 3 days --- sys/kern/subr_taskqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c index ad2f73aaf959..68f9961fb295 100644 --- a/sys/kern/subr_taskqueue.c +++ b/sys/kern/subr_taskqueue.c @@ -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);