summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index ae3ce21..4977bff 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -182,10 +182,12 @@ void vm_map_init(void)
NULL, NULL, NULL, 0);
kmem_cache_init(&vm_map_entry_cache, "vm_map_entry",
sizeof(struct vm_map_entry), 0, NULL, NULL, NULL, 0);
+#if 0
kmem_cache_init(&vm_map_kentry_cache, "vm_map_kentry",
sizeof(struct vm_map_entry), 0, NULL, kentry_pagealloc,
NULL, KMEM_CACHE_NOCPUPOOL | KMEM_CACHE_NOOFFSLAB
| KMEM_CACHE_NORECLAIM);
+#endif
kmem_cache_init(&vm_map_copy_cache, "vm_map_copy",
sizeof(struct vm_map_copy), 0, NULL, NULL, NULL, 0);