Subject: Re: pmap_page_protect() on a wired page?
To: None <eeh@netbsd.org>
From: Ignatios Souvatzis <is@jocelyn.rhein.de>
List: tech-kern
Date: 03/19/1999 21:32:42
On Thu, Mar 18, 1999 at 06:01:14PM -0800, Eduardo E. Horvath wrote:
> 
> Is using pmap_page_protect() on a wired page legal?  The daemon book it
> says that pmap_page_protect() is used to manage pageable pages, but if a
> page is wired then it's not pageable, is it?  Is this a bug in UVM?

Uhm, I think yes... well...

- if it is a VM managed page, that has been wired, yes.
- if it is a page that was never managed by VM, but only handled by 
hardware MMU pages, or direct translation, or similar, maybe not.
The exact answer in the latter case might even be machine dependent.

	-is