diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-05-24 21:11:49 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-05-24 21:11:49 +0000 |
commit | 526f723825fc14fc3adc977232cec0676a08eb7c (patch) | |
tree | 0fb6ab3a0b0476e21c49f614105a0feb84507035 /sys/arch/i386 | |
parent | 9e6922c4f2ab274c1deb3ec49e66afaa5597782f (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/i386')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |