summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2005-05-24 21:11:49 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2005-05-24 21:11:49 +0000
commit526f723825fc14fc3adc977232cec0676a08eb7c (patch)
tree0fb6ab3a0b0476e21c49f614105a0feb84507035 /sys/arch
parent9e6922c4f2ab274c1deb3ec49e66afaa5597782f (diff)
add a new field to vm_space and use it to track the number of anon
pages a process uses. this is now the userland "data size" value. ok art deraadt tdeval. thanks testers.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/pmap.c4
-rw-r--r--sys/arch/i386/i386/pmap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index b58008e1d6f..3c046b12986 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.7 2004/07/22 15:50:18 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.8 2005/05/24 21:11:47 tedu Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
@@ -1586,7 +1586,7 @@ pmap_free_pvpage()
/* unmap the page */
dead_entries = NULL;
uvm_unmap_remove(map, (vaddr_t)pvp, ((vaddr_t)pvp) + PAGE_SIZE,
- &dead_entries);
+ &dead_entries, NULL);
vm_map_unlock(map);
if (dead_entries != NULL)
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c
index 76aff1121fc..7bbfe9db7d4 100644
--- a/sys/arch/i386/i386/pmap.c
+++ b/sys/arch/i386/i386/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.80 2004/12/25 23:02:24 miod Exp $ */
+/* $OpenBSD: pmap.c,v 1.81 2005/05/24 21:11:46 tedu Exp $ */
/* $NetBSD: pmap.c,v 1.91 2000/06/02 17:46:37 thorpej Exp $ */
/*
@@ -1630,7 +1630,7 @@ pmap_free_pvpage()
/* unmap the page */
dead_entries = NULL;
uvm_unmap_remove(map, (vaddr_t)pvp, ((vaddr_t)pvp) + PAGE_SIZE,
- &dead_entries);
+ &dead_entries, NULL);
vm_map_unlock(map);
if (dead_entries != NULL)