Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 02/20/2000 18:01:26
Module Name: syssrc
Committed By: chs
Date: Mon Feb 21 02:01:26 UTC 2000
Modified Files:
syssrc/sys/arch/i386/i386: pmap.c
Log Message:
several fixes:
1. in pmap_steal_ptp(), don't trylock the pmap that wants a ptp,
the caller already has it locked.
2. do not panic in pmap_enter() due to memory allocation failures when
the PMAP_CANFAIL flag is given. to this end, move all such panics
from the lower-level routines to pmap_enter() and pmap_growkernel()
where we can check for this flag.
3. add #ifdef DIAGNOSTIC around all panics which are only reachable
if there's a bug or a hardware error.
To generate a diff of this commit:
cvs rdiff -r1.83 -r1.84 syssrc/sys/arch/i386/i386/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.