From: Venkatesh Srinivas Date: Wed, 28 Dec 2011 01:38:12 +0000 (-0800) Subject: taskqueue -- Register swi_taskq_mp as an MP-safe SWI. X-Git-Tag: v3.0.0~245 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/625d11676512e37dcbefeae0f59e0a0fb7454bcf taskqueue -- Register swi_taskq_mp as an MP-safe SWI. The swi_taskqueue for mpsafe tasks was still getting the mplock. Remove it. There are no real users of this queue in kernel though. --- diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c index aced90443d..43a0185057 100644 --- a/sys/kern/subr_taskqueue.c +++ b/sys/kern/subr_taskqueue.c @@ -401,7 +401,8 @@ TASKQUEUE_DEFINE(swi, taskqueue_swi_enqueue, 0, * related: platform/XXX/isa/ipl_funcs.c */ TASKQUEUE_DEFINE(swi_mp, taskqueue_swi_enqueue, 0, - register_swi(SWI_TQ, taskqueue_swi_mp_run, NULL, "swi_mp_taskq", NULL, -1)); + register_swi_mp(SWI_TQ, taskqueue_swi_mp_run, NULL, "swi_mp_taskq", NULL, + -1)); struct taskqueue *taskqueue_thread[MAXCPU];