diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-10 18:42:33 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-11-10 18:42:33 +0000 |
commit | bbe8f62ec65096ee1bb8589c0f3ade29b85553c4 (patch) | |
tree | 4e43b942be0409169ada8cef2d0708a064d84fd9 /sys/kern/init_main.c | |
parent | 89424e542479723fbb4744a2c96edff04f29fb24 (diff) |
Merge in some parts of the ubc work that has been done in NetBSD that are not
UBC, but prerequsites for it.
- Create a daemon that processes async I/O (swap and paging in the future)
requests that need processing in process context and that were processed
in the pagedaemon before.
- Convert some ugly ifdef DIAGNOSTIC code to less intrusive KASSERTs.
- misc other cleanups.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index e41148c9f95..c909a23141b 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.83 2001/11/07 01:18:01 art Exp $ */ +/* $OpenBSD: init_main.c,v 1.84 2001/11/10 18:42:31 art Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -417,8 +417,12 @@ main(framep) if (kthread_create(start_update, NULL, NULL, "update")) panic("fork update"); + /* Create process 6, the aiodone daemon kernel thread. */ + if (kthread_create(uvm_aiodone_daemon, NULL, NULL, "aiodoned")) + panic("fork aiodoned"); + #ifdef CRYPTO - /* Create process 6, the crypto kernel thread. */ + /* Create process 7, the crypto kernel thread. */ if (kthread_create(start_crypto, NULL, NULL, "crypto")) panic("crypto thread"); #endif /* CRYPTO */ |