summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-12-28 21:32:46 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-12-28 21:32:46 +0000
commitc628a451fa81336cb948f95497c3c0c181641283 (patch)
treebb8cc9868d65d8f4f2a0af5f82f0b2f82698557c /sys/kern
parentac44209d00ccc5a9e106f34282d4e3b7403f7053 (diff)
The greatest happiness is to scatter inferiour APIs, to drive them
before you, to see their files reduced to ashes, to see those who love them shrouded in tears, and to gather into your API all their invocations. In other words, workq is no more. There is only taskq. ok kettenis@ dlg@ (creator of taskq) jmc@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 4191d382034..e5a13fa5e31 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.229 2014/12/17 06:58:11 guenther Exp $ */
+/* $OpenBSD: init_main.c,v 1.230 2014/12/28 21:32:45 krw Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -74,7 +74,6 @@
#include <sys/domain.h>
#include <sys/mbuf.h>
#include <sys/pipe.h>
-#include <sys/workq.h>
#include <sys/task.h>
#include <sys/syscall.h>
@@ -147,7 +146,6 @@ void start_reaper(void *);
void crypto_init(void);
void init_exec(void);
void kqueue_init(void);
-void workq_init(void);
void taskq_init(void);
extern char sigcode[], esigcode[];
@@ -343,8 +341,7 @@ main(void *framep)
sched_init_cpu(curcpu());
p->p_cpu->ci_randseed = (arc4random() & 0x7fffffff) + 1;
- /* Initialize work queues */
- workq_init();
+ /* Initialize task queues */
taskq_init();
/* Initialize the interface/address trees */