diff options
| author | 2007-06-18 21:51:15 +0000 | |
|---|---|---|
| committer | 2007-06-18 21:51:15 +0000 | |
| commit | 8d0b5baf1670fc87f232666d52cd80a7b25d5af6 (patch) | |
| tree | a700b448be7f8526e069f57ab26ff41de29d7307 /sys/uvm/uvm_init.c | |
| parent | this is the sgi disklabel, mips64 is not the same (diff) | |
| download | wireguard-openbsd-8d0b5baf1670fc87f232666d52cd80a7b25d5af6.tar.xz wireguard-openbsd-8d0b5baf1670fc87f232666d52cd80a7b25d5af6.zip | |
Bring back Mickey's UVM anon change. Testing by thib@, beck@ and
ckuethe@ for a while. Okay beck@, "it is good timing" deraadt@.
Diffstat (limited to 'sys/uvm/uvm_init.c')
| -rw-r--r-- | sys/uvm/uvm_init.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/uvm/uvm_init.c b/sys/uvm/uvm_init.c index 448baed5021..611f6fa1e77 100644 --- a/sys/uvm/uvm_init.c +++ b/sys/uvm/uvm_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_init.c,v 1.15 2007/05/09 11:23:35 art Exp $ */ +/* $OpenBSD: uvm_init.c,v 1.16 2007/06/18 21:51:15 pedro Exp $ */ /* $NetBSD: uvm_init.c,v 1.14 2000/06/27 17:29:23 mrg Exp $ */ /* @@ -134,11 +134,10 @@ uvm_init() uvm_pager_init(); /* - * step 8: init anonymous memory systems (both amap and anons) + * step 8: init anonymous memory system */ amap_init(); /* init amap module */ - uvm_anon_init(); /* allocate initial anons */ /* * the VM system is now up! now that malloc is up we can resize the @@ -170,8 +169,7 @@ uvm_init() panic("uvm_init: cannot reserve dead beef @0x%x\n", DEADBEEF1); #endif /* - * done! + * init anonymous memory systems */ - - return; + uvm_anon_init(); } |
