Subject: important pmap change from i386
To: None <port-pc532@netbsd.org, port-sh3@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: port-pc532
Date: 04/09/2000 23:33:06
Hi folks...

An important pmap.c change from the i386 port should be merged into the
pc532 and sh3 pmaps (both of which were derived from the i386 pmap).  Please
look at revision 1.84 of the i386 pmap.c and make the appropriate changes
to the pc532 and sh3 ports.  The i386 log message:

revision 1.84
date: 2000/02/21 02:01:24;  author: chs;  state: Exp;  lines: +82 -32
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.

This change is especially important on systems with small memory sizes!

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>