Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/uvm Pull up revision 1.32 (requested by thorpej):
details: https://anonhg.NetBSD.org/src/rev/caaa4ebc802d
branches: netbsd-1-4
changeset: 470500:caaa4ebc802d
user: he <he%NetBSD.org@localhost>
date: Wed Apr 26 22:12:52 2000 +0000
description:
Pull up revision 1.32 (requested by thorpej):
Use a more reliable method to determine if uvm_page_init() has
completed. This fixes a problem observed on some i386 configs
(typically with lots of memory) where the kernel page table needs
to grow during initialization.
diffstat:
sys/uvm/uvm_page.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 082eff144b23 -r caaa4ebc802d sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Wed Apr 26 22:11:19 2000 +0000
+++ b/sys/uvm/uvm_page.c Wed Apr 26 22:12:52 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.17.2.4 1999/12/20 13:30:31 he Exp $ */
+/* $NetBSD: uvm_page.c,v 1.17.2.5 2000/04/26 22:12:52 he Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -339,6 +339,7 @@
* done!
*/
+ uvm.page_init_done = TRUE;
}
/*
@@ -481,7 +482,7 @@
#endif
{
- if (vm_physmem[lcv].pgs)
+ if (uvm.page_init_done == TRUE)
panic("vm_page_physget: called _after_ bootstrap");
if (vm_physmem[lcv].free_list != freelist)
Home |
Main Index |
Thread Index |
Old Index