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_km.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_km.c')
-rw-r--r-- | sys/uvm/uvm_km.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index e34f1b4161c..0b1ca938c8c 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.c,v 1.45 2004/12/30 08:28:39 niklas Exp $ */ +/* $OpenBSD: uvm_km.c,v 1.46 2005/05/24 21:11:47 tedu Exp $ */ /* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */ /* @@ -604,7 +604,7 @@ uvm_km_free_wakeup(map, addr, size) vm_map_lock(map); uvm_unmap_remove(map, trunc_page(addr), round_page(addr+size), - &dead_entries); + &dead_entries, NULL); wakeup(map); vm_map_unlock(map); |