aboutsummaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-04-29 07:43:16 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-04-29 07:43:16 +0000
commitdb17c6fc07f554d4a76d1f7149e5896a5ebef62d (patch)
tree8606fb37ea8e86e89888ad66971582ab9925c328 /sys/vm
parentd76b2f9d549f8cb7d90a468e8b5b538d14f3c0e9 (diff)
downloadsrc-db17c6fc07f554d4a76d1f7149e5896a5ebef62d.tar.gz
src-db17c6fc07f554d4a76d1f7149e5896a5ebef62d.zip
Tidy up some loose ends.
i386/ia64/alpha - catch up to sparc64/ppc: - replace pmap_kernel() with refs to kernel_pmap - change kernel_pmap pointer to (&kernel_pmap_store) (this is a speedup since ld can set these at compile/link time) all platforms (as suggested by jake): - gc unused pmap_reference - gc unused pmap_destroy - gc unused struct pmap.pm_count (we never used pm_count - we track address space sharing at the vmspace)
Notes
Notes: svn path=/head/; revision=95710
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/pmap.h2
-rw-r--r--sys/vm/vm_kern.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index 8db3b03ad789..e4364319be3e 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -98,7 +98,6 @@ void pmap_clear_reference(vm_page_t m);
void pmap_collect(void);
void pmap_copy(pmap_t, pmap_t, vm_offset_t, vm_size_t, vm_offset_t);
void pmap_copy_page(vm_page_t, vm_page_t);
-void pmap_destroy(pmap_t);
void pmap_enter(pmap_t, vm_offset_t, vm_page_t, vm_prot_t,
boolean_t);
vm_offset_t pmap_extract(pmap_t pmap, vm_offset_t va);
@@ -122,7 +121,6 @@ void pmap_pinit2(pmap_t);
void pmap_protect(pmap_t, vm_offset_t, vm_offset_t, vm_prot_t);
void pmap_qenter(vm_offset_t, vm_page_t *, int);
void pmap_qremove(vm_offset_t, int);
-void pmap_reference(pmap_t);
void pmap_release(pmap_t);
void pmap_remove(pmap_t, vm_offset_t, vm_offset_t);
void pmap_remove_pages(pmap_t, vm_offset_t, vm_offset_t);
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
index 0daf0ade841b..087247ca9bea 100644
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -270,7 +270,6 @@ kmem_suballoc(parent, min, max, size)
panic("kmem_suballoc");
}
*max = *min + size;
- pmap_reference(vm_map_pmap(parent));
result = vm_map_create(vm_map_pmap(parent), *min, *max);
if (result == NULL)
panic("kmem_suballoc: cannot create submap");