Subject: Re: pmap_enter() bashed
To: Charles M. Hannum <root@ihack.net>
From: Eduardo E. Horvath <eeh@one-o.com>
List: tech-kern
Date: 03/26/1999 20:44:44
On Fri, 26 Mar 1999, Charles M. Hannum wrote:

> There are two different reasons why we map pages:

I got that part

>    We don't want to take another fault just for R/M bit emulation;
>    this is a complete waste of time.  So, the `access_type' serves to
>    pass the information originally from the fault handler about the
>    nature of the attempted access back from the VM system to the pmap,
>    so that the pmap can preset the emulated R/M bits and avoid causing
>    a second fault.

So if you and `access_type' with `prot' that's the protection you should
set on the page right now?  I'm trying to ge a handle on how to implement
this properly.

> I believe both SPARC platforms have hardware R/M bits, so there isn't
> much need for any change there.

Not all models.

=========================================================================
Eduardo Horvath				eeh@one-o.com
	"I need to find a pithy new quote." -- me