Subject: Re: Proposal: CL* macros removal.
To: None <thorpej@nas.nasa.gov>
From: Anders Magnusson <ragge@ludd.luth.se>
List: tech-kern
Date: 11/22/1999 02:50:37
> 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"? :-)
>
Maybe true enough...
> Seriously, though, I think that what we should do is change the following
> snippet of code in vm/vm_param.h from:
>
Simple to fix and a good idea. I'll look at it when i jumps into the
CL* cleanup next week.
-- Ragge