summaryrefslogtreecommitdiffstats
path: root/sys/uvm/uvm_unix.c
diff options
context:
space:
mode:
authoroga <oga@openbsd.org>2009-06-17 00:13:59 +0000
committeroga <oga@openbsd.org>2009-06-17 00:13:59 +0000
commit0800515e8300192b27d1abca029a9a008395e201 (patch)
treee84be8ba13b2d22c0243ded2d7c46a5db997ff01 /sys/uvm/uvm_unix.c
parentdate based reversion of uvm to the 4th May. (diff)
downloadwireguard-openbsd-0800515e8300192b27d1abca029a9a008395e201.tar.xz
wireguard-openbsd-0800515e8300192b27d1abca029a9a008395e201.zip
date based reversion of uvm to the 4th May.
More backouts in line with previous ones, this appears to bring us back to a stable condition. A machine forced to 64mb of ram cycled 10GB through swap with this diff and is still running as I type this. Other tests by ariane@ and thib@ also seem to show that it's alright. ok deraadt@, thib@, ariane@
Diffstat (limited to 'sys/uvm/uvm_unix.c')
-rw-r--r--sys/uvm/uvm_unix.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c
index f5d33a3e188..271f0ec2edc 100644
--- a/sys/uvm/uvm_unix.c
+++ b/sys/uvm/uvm_unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_unix.c,v 1.37 2009/06/06 21:25:21 deraadt Exp $ */
+/* $OpenBSD: uvm_unix.c,v 1.38 2009/06/17 00:13:59 oga Exp $ */
/* $NetBSD: uvm_unix.c,v 1.18 2000/09/13 15:00:25 thorpej Exp $ */
/*
@@ -147,8 +147,6 @@ uvm_grow(struct proc *p, vaddr_t sp)
vm->vm_ssize += si;
}
-#ifndef SMALL_KERNEL
-
/*
* uvm_coredump: dump core!
*/
@@ -322,5 +320,3 @@ uvm_coredump_walkmap(struct proc *p, void *iocookie,
return (0);
}
-
-#endif /* !SMALL_KERNEL */