diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-04-28 02:20:59 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-04-28 02:20:59 +0000 |
commit | 0109542fc439ac9a11f415a835810794b4c3aeb2 (patch) | |
tree | 23aeb9222a77473b6ef73c47ea645ade9ef08c79 /sys/uvm/uvm_km.c | |
parent | d43f1ae6983caef2bca69f007df44cee540a7e55 (diff) |
remove mb_object*; ok tedu
Diffstat (limited to 'sys/uvm/uvm_km.c')
-rw-r--r-- | sys/uvm/uvm_km.c | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index b35544009be..9d4ffa0d081 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.c,v 1.37 2004/04/20 09:39:36 markus Exp $ */ +/* $OpenBSD: uvm_km.c,v 1.38 2004/04/28 02:20:58 markus Exp $ */ /* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */ /* @@ -109,7 +109,7 @@ * most kernel private memory lives in kernel_object. the only exception * to this is for memory that belongs to submaps that must be protected * by splvm(). each of these submaps has their own private kernel - * object (e.g. kmem_object, mb_object). + * object (e.g. kmem_object). * * note that just because a kernel object spans the entire kernel virtual * address space doesn't mean that it has to be mapped into the entire space. @@ -128,8 +128,8 @@ * then that means that the page at offset 0x235000 in kernel_object is * mapped at 0xf8235000. * - * note that the offsets in kmem_object and mb_object also follow this - * rule. this means that the offsets for kmem_object must fall in the + * note that the offsets in kmem_object also follow this rule. + * this means that the offsets for kmem_object must fall in the * range of [vm_map_min(kmem_object) - vm_map_min(kernel_map)] to * [vm_map_max(kmem_object) - vm_map_min(kernel_map)], so the offsets * in those objects will typically not start at zero. @@ -163,7 +163,6 @@ simple_lock_data_t vmi_list_slock; static struct vm_map kernel_map_store; static struct uvm_object kmem_object_store; -static struct uvm_object mb_object_store; /* * All pager operations here are NULL, but the object must have @@ -216,19 +215,6 @@ uvm_km_init(start, end) uvmexp.kmem_object = &kmem_object_store; /* - * mb_object: for mbuf cluster pages on platforms which use the - * mb_map. Memory is always wired, and this object (and the mb_map) - * can be accessed at interrupt time. - */ - simple_lock_init(&mb_object_store.vmobjlock); - mb_object_store.pgops = &km_pager; - TAILQ_INIT(&mb_object_store.memq); - mb_object_store.uo_npages = 0; - /* we are special. we never die */ - mb_object_store.uo_refs = UVM_OBJ_KERN_INTRSAFE; - uvmexp.mb_object = &mb_object_store; - - /* * init the map and reserve already allocated kernel space * before installing. */ |