summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2003-10-06 01:47:12 +0000
committerbms <bms@FreeBSD.org>2003-10-06 01:47:12 +0000
commitd8d01a1fa74aaeb8f9c01655002588c21197bddd (patch)
tree008a39b1576b985c04df774cca557ae9a75edfd1 /sys/vm/vm_map.c
parent1ac708bd28fe01cd0f219e624441c78612dff7eb (diff)
downloadFreeBSD-src-d8d01a1fa74aaeb8f9c01655002588c21197bddd.zip
FreeBSD-src-d8d01a1fa74aaeb8f9c01655002588c21197bddd.tar.gz
Move pmap_resident_count() from the MD pmap.h to the MI pmap.h.
Add a definition of pmap_wired_count(). Add a definition of vmspace_wired_count(). Reviewed by: truckman Discussed with: peter
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 4492f9b..6ae9edd 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -477,6 +477,12 @@ vmspace_resident_count(struct vmspace *vmspace)
return pmap_resident_count(vmspace_pmap(vmspace));
}
+long
+vmspace_wired_count(struct vmspace *vmspace)
+{
+ return pmap_wired_count(vmspace_pmap(vmspace));
+}
+
/*
* vm_map_create:
*
OpenPOWER on IntegriCloud