summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_io.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2005-05-24 21:11:46 +0000
committertedu <tedu@openbsd.org>2005-05-24 21:11:46 +0000
commit5ef4d903fadb03a854f3645b125e6beec2c64a59 (patch)
tree6a4c94b371eee7b1b8cfddc6471aafd30ed49b0a /sys/uvm/uvm_io.c
parentAn lsa with age == MAX_AGE is always different and needs to be merged. (diff)
downloadwireguard-openbsd-5ef4d903fadb03a854f3645b125e6beec2c64a59.tar.xz
wireguard-openbsd-5ef4d903fadb03a854f3645b125e6beec2c64a59.zip
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.c4
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)