correct fast swi taskqueue spinlock name to be different from the sleep lock

Submitted by:	Tor Egge <Tor.Egge@cvsup.no.freebsd.org>
This commit is contained in:
Sam Leffler 2003-09-06 21:05:18 +00:00
parent 603d3d4a44
commit 7e2282a5a6

View File

@ -379,7 +379,7 @@ taskqueue_define_fast(void *arg)
STAILQ_INIT(&taskqueue_fast->tq_queue);
taskqueue_fast->tq_name = "fast";
taskqueue_fast->tq_enqueue = taskqueue_fast_schedule;
mtx_init(&taskqueue_fast->tq_mutex, "taskqueue", NULL, MTX_SPIN);
mtx_init(&taskqueue_fast->tq_mutex, "taskqueue_fast", NULL, MTX_SPIN);
mtx_lock(&taskqueue_queues_mutex);
STAILQ_INSERT_TAIL(&taskqueue_queues, taskqueue_fast, tq_link);