Subject: Re: pmap_is_referenced() -- not used?
To: Jason R Thorpe <thorpej@zembu.com>
From: Greywolf <greywolf@starwolf.com>
List: tech-kern
Date: 01/24/2001 15:30:51
On Wed, 24 Jan 2001, Greywolf wrote:

# Actually, the first time made more sense to me; why do you need
# to clear a reference that doesn't exist?
# 
# If you're doing that, you might as well say:
# 
# 	clear reference;
# 	if (!pg is referenced) {
# 		move page to inactive list;
# 	}
# 
# and save yourself the trouble of the else.

D'OH!  That won't work, of course, because it'll always be cleared!
[Note to self:  Take a refresher programming course.]

Still, why clear the reference if it's already cleared?

				--*greywolf;
--
*BSD: Network Power Unleashed.