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/alpha/alpha Pull up revision 1.130 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/e90731f8f6d4
branches:  netbsd-1-4
changeset: 470501:e90731f8f6d4
user:      he <he%NetBSD.org@localhost>
date:      Wed Apr 26 22:13:24 2000 +0000

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

diffs (27 lines):

diff -r caaa4ebc802d -r e90731f8f6d4 sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c       Wed Apr 26 22:12:52 2000 +0000
+++ b/sys/arch/alpha/alpha/pmap.c       Wed Apr 26 22:13:24 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.88.2.5 1999/11/27 16:02:09 he Exp $ */
+/* $NetBSD: pmap.c,v 1.88.2.6 2000/04/26 22:13:24 he Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -155,7 +155,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.88.2.5 1999/11/27 16:02:09 he Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.88.2.6 2000/04/26 22:13:24 he Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1005,7 +1005,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