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/uvm/uvm_io.c | |
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/uvm/uvm_io.c')
-rw-r--r-- | sys/uvm/uvm_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_io.c b/sys/uvm/uvm_io.c index 4bbabf480a7..25702be8d4b 100644 --- a/sys/uvm/uvm_io.c +++ b/sys/uvm/uvm_io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_io.c,v 1.14 2002/10/29 18:30:21 art Exp $ */ +/* $OpenBSD: uvm_io.c,v 1.15 2005/05/24 21:11:47 tedu Exp $ */ /* $NetBSD: uvm_io.c,v 1.12 2000/06/27 17:29:23 mrg Exp $ */ /* @@ -139,7 +139,7 @@ uvm_io(map, uio) vm_map_lock(kernel_map); uvm_unmap_remove(kernel_map, kva, kva+chunksz, - &dead_entries); + &dead_entries, NULL); vm_map_unlock(kernel_map); if (dead_entries != NULL) |