Subject: Re: uvm_km_valloc_align() and USPACE (Re: CVS commit: syssrc)
To: Jason R Thorpe <thorpej@zembu.com>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: tech-kern
Date: 12/01/2000 19:34:15
On Thu, Nov 30, 2000 at 10:42:02AM -0800, Jason R Thorpe wrote:
> On Fri, Dec 01, 2000 at 03:34:36AM +0900, Izumi Tsutsui wrote:
>
> > > s/NBPG/PAGE_SIZE/ please.
> >
> > Currently, USPACE on all ports (except sparc/sparc64) defined
> > as (UPAGES * NBPG). Should these be fixed, too?
>
> If it's in machdep code, NBPG is "okay". But we should be purging NBPG
> from MI code -- we already have PAGE_SIZE, which properly deals with
> different page sizes on systems that have that issue (e.g. SPARC).
How is the definition of PAGE_SIZE, and of NBPG?
-is