PERFORCE change 51195 for review
John Baldwin
jhb at FreeBSD.org
Fri Apr 16 13:10:19 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=51195
Change 51195 by jhb at jhb_slimer on 2004/04/16 13:09:22
Whitespace.
Affected files ...
.. //depot/projects/smpng/sys/kern/subr_taskqueue.c#18 edit
Differences ...
==== //depot/projects/smpng/sys/kern/subr_taskqueue.c#18 (text+ko) ====
@@ -229,6 +229,7 @@
static void
taskqueue_thread_loop(void *dummy)
{
+
mtx_lock(&taskqueue_thread->tq_mutex);
for (;;) {
taskqueue_run(taskqueue_thread);
@@ -240,6 +241,7 @@
static void
taskqueue_thread_enqueue(void *context)
{
+
mtx_assert(&taskqueue_thread->tq_mutex, MA_OWNED);
wakeup(taskqueue_thread);
}
@@ -344,6 +346,7 @@
static void
taskqueue_define_fast(void *arg)
{
+
taskqueue_fast = malloc(sizeof(struct taskqueue), M_TASKQUEUE,
M_NOWAIT | M_ZERO);
if (!taskqueue_fast) {
More information about the p4-projects
mailing list