aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/pmap.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-07-07 23:05:27 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-07-07 23:05:27 +0000
commita136efe9b67d5b588bd66a6d3276a82b04e799d5 (patch)
tree74cd2868c7e5812fca8fc59540abac90c945c633 /sys/vm/pmap.h
parentf9751ec2cd2a2c120699dae1eff650c1a56fb861 (diff)
downloadsrc-a136efe9b67d5b588bd66a6d3276a82b04e799d5.tar.gz
src-a136efe9b67d5b588bd66a6d3276a82b04e799d5.zip
Collect all the (now equivalent) pmap_new_proc/pmap_dispose_proc/
pmap_swapin_proc/pmap_swapout_proc functions from the MD pmap code and use a single equivalent MI version. There are other cleanups needed still. While here, use the UMA zone hooks to keep a cache of preinitialized proc structures handy, just like the thread system does. This eliminates one dependency on 'struct proc' being persistent even after being freed. There are some comments about things that can be factored out into ctor/dtor functions if it is worth it. For now they are mostly just doing statistics to get a feel of how it is working.
Notes
Notes: svn path=/head/; revision=99559
Diffstat (limited to 'sys/vm/pmap.h')
-rw-r--r--sys/vm/pmap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/vm/pmap.h b/sys/vm/pmap.h
index e4364319be3e..79a73f6bae63 100644
--- a/sys/vm/pmap.h
+++ b/sys/vm/pmap.h
@@ -128,10 +128,6 @@ void pmap_zero_page(vm_page_t);
void pmap_zero_page_area(vm_page_t, int off, int size);
void pmap_prefault(pmap_t, vm_offset_t, vm_map_entry_t);
int pmap_mincore(pmap_t pmap, vm_offset_t addr);
-void pmap_new_proc(struct proc *p);
-void pmap_dispose_proc(struct proc *p);
-void pmap_swapout_proc(struct proc *p);
-void pmap_swapin_proc(struct proc *p);
void pmap_new_thread(struct thread *td);
void pmap_dispose_thread(struct thread *td);
void pmap_swapout_thread(struct thread *td);