Subject: Re: pmap(9): pmap_zeropage, pmap_copypage
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 08/14/2002 11:38:05
On Wed, Aug 14, 2002 at 11:26:14AM -0700, Bill Studenmund wrote:

 > Maybe pass the vm_page *, and have a special value, say -1, that indicates
 > the caller doesn't know and the routine should call PHYS_TO_VM_PAGE? Or
 > would it be better to have all callers call PHYS_TO_VM_PAGE?

Don't want to pass 2 args ... the places where it's used "incorrectly" in
MI code are easily fixed -- it's MD code that you need to pay attention
to.

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