diff options
| author | 2009-06-16 00:11:29 +0000 | |
|---|---|---|
| committer | 2009-06-16 00:11:29 +0000 | |
| commit | 29336ad765788b37f9946f6e2934311a865503f8 (patch) | |
| tree | 51dfa65ef4c1dd2ec822dbbd531f6ef39037fdbd /sys/uvm/uvm_init.c | |
| parent | bring back miod@'s "real functions" patch (rev. 1.2) (diff) | |
| download | wireguard-openbsd-29336ad765788b37f9946f6e2934311a865503f8.tar.xz wireguard-openbsd-29336ad765788b37f9946f6e2934311a865503f8.zip | |
Backout all changes to uvm after pmemrange (which will be backed out
separately).
a change at or just before the hackathon has either exposed or added a
very very nasty memory corruption bug that is giving us hell right now.
So in the interest of kernel stability these diffs are being backed out
until such a time as that corruption bug has been found and squashed,
then the ones that are proven good may slowly return.
a quick hitlist of the main commits this backs out:
mine:
uvm_objwire
the lock change in uvm_swap.c
using trees for uvm objects instead of the hash
removing the pgo_releasepg callback.
art@'s:
putting pmap_page_protect(VM_PROT_NONE) in uvm_pagedeactivate() since
all callers called that just prior anyway.
ok beck@, ariane@.
prompted by deraadt@.
Diffstat (limited to 'sys/uvm/uvm_init.c')
| -rw-r--r-- | sys/uvm/uvm_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/uvm/uvm_init.c b/sys/uvm/uvm_init.c index 9d606516ee1..0c4244eec76 100644 --- a/sys/uvm/uvm_init.c +++ b/sys/uvm/uvm_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_init.c,v 1.22 2009/06/02 23:00:19 oga Exp $ */ +/* $OpenBSD: uvm_init.c,v 1.23 2009/06/16 00:11:29 oga Exp $ */ /* $NetBSD: uvm_init.c,v 1.14 2000/06/27 17:29:23 mrg Exp $ */ /* @@ -148,6 +148,7 @@ uvm_init(void) * of kernel objects. */ + uvm_page_rehash(); uao_create(VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS, UAO_FLAG_KERNSWAP); |
