Subject: Re: MACHINE_NONCONTIG
To: None <ws@kurt.tools.de>
From: Gordon W. Ross <gwr@mc.com>
List: tech-kern
Date: 02/28/1997 10:36:26
> Date: Fri, 28 Feb 1997 16:32:48 +0100
> From: ws@kurt.tools.de (Wolfgang Solfrank)
>
> > The routine is only called once during VM initialization, so the
> > result will be exactly the same either way.
>
> pmap_free_pages is called twice during VM initialization. Both times it is
> used to size some data structure depending on the amount of free space
> available. Since after the first call the first data structure is allocated
> via pmap_steal_memory actually stealing some memory from the pool of pages,
> the second data structure is slightly oversized when using your code.
>
> Hope it helps.
>
> Ciao,
> Wolfgang
Oh! I missed the second call. You are quite right!
Thanks,
Gordon