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

 > 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?

You have to do essentially the same operation in the pmap module to
check it as to clear it, so this is an optimization to avoid an
expensive pv_entry traversal twice.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>