Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/mips/mips Pull up revision 1.88 (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/c757fe3111ec
branches:  netbsd-1-4
changeset: 470503:c757fe3111ec
user:      he <he%NetBSD.org@localhost>
date:      Wed Apr 26 22:14:39 2000 +0000

description:
Pull up revision 1.88 (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/arch/mips/mips/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7761cdc18f3f -r c757fe3111ec sys/arch/mips/mips/pmap.c
--- a/sys/arch/mips/mips/pmap.c Wed Apr 26 22:14:10 2000 +0000
+++ b/sys/arch/mips/mips/pmap.c Wed Apr 26 22:14:39 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.55.2.1 1999/04/16 16:19:54 chs Exp $        */
+/*     $NetBSD: pmap.c,v 1.55.2.2 2000/04/26 22:14:39 he Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.55.2.1 1999/04/16 16:19:54 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.55.2.2 2000/04/26 22:14:39 he Exp $");
 
 /*
  *     Manages physical address maps.
@@ -360,7 +360,7 @@
        npgs = atop(size);
 
        for (bank = 0; bank < vm_nphysseg; bank++) {
-               if (vm_physmem[bank].pgs)
+               if (uvm.page_init_done == TRUE)
                        panic("pmap_steal_memory: called _after_ bootstrap");
 
                if (vm_physmem[bank].avail_start != vm_physmem[bank].start ||



Home | Main Index | Thread Index | Old Index