Subject: Re: pmap_is_referenced() -- not used?
To: None <tech-kern@netbsd.org>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 01/24/2001 14:55:11
On Wed, Jan 24, 2001 at 11:53:07AM -0800, Jason R Thorpe wrote:
> if (pg is referenced)
> clear reference;
> else {
> /* NOTE: PAGE IS NOT PROTECTED IN ANY WAY! */
> move page to inactive list;
> }
Sorry, this block was sort of un-clear. I really mean:
if (pg is referenced)
clear reference;
else {
/* NOTE: DO NOT CHANGE PAGE'S PROTECTION! */
clear reference;
move page to inactive list;
}
--
-- Jason R. Thorpe <thorpej@zembu.com>