Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 04/02/2000 13:39:19
Module Name: syssrc
Committed By: thorpej
Date: Sun Apr 2 20:39:18 UTC 2000
Modified Files:
syssrc/sys/arch/alpha/alpha: pmap.c
syssrc/sys/arch/i386/i386: pmap.c
syssrc/sys/arch/mips/mips: pmap.c
syssrc/sys/arch/pc532/pc532: pmap.c
syssrc/sys/arch/sh3/sh3: pmap.c
syssrc/sys/arch/vax/vax: pmap.c
syssrc/sys/uvm: uvm.h uvm_page.c
Log Message:
Instead of checking vm_physmem[<physseg>].pgs to determine if
uvm_page_init() has completed, add a boolean uvm.page_init_done,
and test against that. Use this same boolean (rather than
pmap_initialized) in pmap_growkernel() to determine if we are
being called via uvm_page_init() to grow the kernel address space.
This fixes a problem on some i386 configurations where pmap_init()
itself was needing to have the kernel page table grown, and since
pmap_initialized was not yet set to TRUE, pmap_growkernel() was
choosing the wrong code path.
Fix tested by Havard Eidnes.
To generate a diff of this commit:
cvs rdiff -r1.129 -r1.130 syssrc/sys/arch/alpha/alpha/pmap.c
cvs rdiff -r1.84 -r1.85 syssrc/sys/arch/i386/i386/pmap.c
cvs rdiff -r1.87 -r1.88 syssrc/sys/arch/mips/mips/pmap.c
cvs rdiff -r1.46 -r1.47 syssrc/sys/arch/pc532/pc532/pmap.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/sh3/sh3/pmap.c
cvs rdiff -r1.76 -r1.77 syssrc/sys/arch/vax/vax/pmap.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/uvm/uvm.h
cvs rdiff -r1.31 -r1.32 syssrc/sys/uvm/uvm_page.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.