Subject: Re: Proposal: CL* macros removal.
To: Chris G. Demetriou <cgd@netbsd.org>
From: Anders Magnusson <ragge@ludd.luth.se>
List: tech-kern
Date: 11/22/1999 02:57:49
> Jason Thorpe <thorpej@nas.nasa.gov> writes:
> > On Sun, 21 Nov 1999 22:40:40 +0100 (MET) 
> >  Anders Magnusson <ragge@ludd.luth.se> wrote:
> > 
> >  > Now you came up with something else: PAGE_SIZE as a variable instead of
> >  > a constant create lots of unneccessary code, especially in complex
> >  > expressions that otherwise could be optimized away by the compiler.
> >  > What is the reason to have it as a variable instead of a constant?
> >  > Can there ever be a benefit from this?
> > 
> > "Because that's the way Mach VM hid MI vs. MD page size"?  :-)
> 
> Uh, that's not a benefit.  but there are benefits.
> 
> e.g. LKMs for multiple m68k platforms.  the MD page sizes may differ.
> 
That's a _good_ benefit. But fortunately not contradictionary to what
Jason suggested.

-- Ragge