diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-06-16 23:54:59 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-06-16 23:54:59 +0000 |
commit | a7fde65d2a4b3c80a105c722fceb4aead6a7b6e6 (patch) | |
tree | a39dde4a2414a0b0ee304bbb7a7763fb58873b56 /sys/uvm/uvm_fault.c | |
parent | 42caf8629b478d48a8120571cf83377282e2c536 (diff) |
date based reversion of uvm to the 4th May.
We still have no idea why this stops the crashes. but it does.
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_fault.c')
-rw-r--r-- | sys/uvm/uvm_fault.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_fault.c b/sys/uvm/uvm_fault.c index 0c7f05b6459..a10fd054e84 100644 --- a/sys/uvm/uvm_fault.c +++ b/sys/uvm/uvm_fault.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_fault.c,v 1.56 2009/06/16 00:11:29 oga Exp $ */ +/* $OpenBSD: uvm_fault.c,v 1.57 2009/06/16 23:54:58 oga Exp $ */ /* $NetBSD: uvm_fault.c,v 1.51 2000/08/06 00:22:53 thorpej Exp $ */ /* @@ -175,7 +175,7 @@ static struct uvm_advice uvmadvice[] = { * private prototypes */ -void uvmfault_amapcopy(struct uvm_faultinfo *); +static void uvmfault_amapcopy(struct uvm_faultinfo *); static __inline void uvmfault_anonflush(struct vm_anon **, int); void uvmfault_unlockmaps(struct uvm_faultinfo *, boolean_t); @@ -228,7 +228,7 @@ uvmfault_anonflush(struct vm_anon **anons, int n) * => if we are out of RAM we sleep (waiting for more) */ -void +static void uvmfault_amapcopy(struct uvm_faultinfo *ufi) { |