Index: conf/files
===================================================================
--- conf/files	(revision 1657)
+++ conf/files	(working copy)
@@ -1267,6 +1267,7 @@ file	kern/subr_disk.c
 file	kern/subr_iostat.c
 file	kern/subr_evcnt.c
 file	kern/subr_extent.c
+file	kern/subr_kmem.c
 file	kern/subr_log.c
 file	kern/subr_pool.c
 file	kern/subr_prf.c
@@ -1274,6 +1275,7 @@ file	kern/subr_prof.c
 file	kern/subr_once.c
 file	kern/subr_optstr.c
 file	kern/subr_userconf.c		userconf
+file	kern/subr_vmem.c
 file	kern/subr_workqueue.c
 file	kern/subr_xxx.c
 file	kern/sys_generic.c
Index: kern/init_main.c
===================================================================
--- kern/init_main.c	(revision 1638)
+++ kern/init_main.c	(working copy)
@@ -92,6 +92,7 @@ __KERNEL_RCSID(0, "$NetBSD: init_main.c,
 #include <sys/callout.h>
 #include <sys/kernel.h>
 #include <sys/kcont.h>
+#include <sys/kmem.h>
 #include <sys/mount.h>
 #include <sys/proc.h>
 #include <sys/kthread.h>
@@ -221,6 +222,8 @@ main(void)
 	KERNEL_LOCK_INIT();
 
 	uvm_init();
+
+	kmem_init();
 
 	/* Do machine-dependent initialization. */
 	cpu_startup();