From 625d11676512e37dcbefeae0f59e0a0fb7454bcf Mon Sep 17 00:00:00 2001 From: Venkatesh Srinivas Date: Tue, 27 Dec 2011 17:38:12 -0800 Subject: [PATCH] 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. --- sys/kern/subr_taskqueue.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c index aced904..43a0185 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]; -- 1.7.7.2