summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-12-23 06:18:33 +0000
committerscottl <scottl@FreeBSD.org>2005-12-23 06:18:33 +0000
commit90a17769ede81e0557b6a36c11c49c104646d23a (patch)
tree3f2f1e28071a1b267a11a747a0f61a101aa2aa67
parenta5dd38ad577f7f982b7ec664efb5350657e207d6 (diff)
downloadFreeBSD-src-90a17769ede81e0557b6a36c11c49c104646d23a.zip
FreeBSD-src-90a17769ede81e0557b6a36c11c49c104646d23a.tar.gz
Create the taskqueue_fast handler with INTR_MPSAFE so that it doesn't run
with Giant. MFC After: 3 days
-rw-r--r--sys/kern/subr_taskqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c
index ad2f73a..68f9961 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);
OpenPOWER on IntegriCloud