diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2008-10-27 02:13:35 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2008-10-27 02:13:35 +0000 |
commit | f21dc032c6ee1c89acd3151131eb934b8a2f9ab1 (patch) | |
tree | 423c904251113b990d5e657d26c52c3ae1867cb8 | |
parent | 909afca3bdaf65ca82d9e79edf623e3e71175a41 (diff) |
when shutting workq threads down, dont try to take the big kernel
lock when we've never given it up. this is a remnant of the mpsafe
workq stuff we had that wasnt cleaned up properly.
found by and fix tested by oga@
-rw-r--r-- | sys/kern/kern_workq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_workq.c b/sys/kern/kern_workq.c index 391717b84cc..8aec163d494 100644 --- a/sys/kern/kern_workq.c +++ b/sys/kern/kern_workq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_workq.c,v 1.7 2008/02/15 04:08:36 tedu Exp $ */ +/* $OpenBSD: kern_workq.c,v 1.8 2008/10/27 02:13:34 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -192,6 +192,5 @@ workq_thread(void *arg) splx(s); wakeup(&wq->wq_running); - KERNEL_PROC_LOCK(curproc); kthread_exit(0); } |