Subject: Re: pmap_pageable()
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 06/17/1999 08:52:07
Jason Thorpe writes:
> Hi folks...
> 
> With the passing of the brokenness in the m68k pmaps where pmap_pageable()
> would actually free a page table page, I'd like to completely remove that
> routine from the pmap interface.
> 
> Currently, no pmap (except for the Amiga and Atari pmaps which have not yet
> been updated to the other hp300-derived pmaps) implements pmap_pageable().
> The only place where it is used is in the fault-wire routines.
> 
> Given that:
> 
> 	(1) No pmap implements it.
> 
> 	(2) The information it supposedly communicates is more accurately
> 	    communicated in the per-mapping wiring status (e.g. w/
> 	    pmap_enter() and pmap_change_wiring()).
> 
> ...it's unnecessary (and incorrect in its current use; see my previous mail).
> 
> As a side note, I'd also like to rename pmap_change_wiring() to pmap_unwire()
> and remove the boolean_t argument, since pmap_enter() is the only thing that
> can be used to actually wire a mapping.
> 
>         -- Jason R. Thorpe <thorpej@nas.nasa.gov>


these sound like fine ideas.  I say go for it!

-Chuck