Subject: Re: pmap_growkernel
To: Martin Girard <acheon@usa.net>
From: Matt Thomas <matt@3am-software.com>
List: port-macppc
Date: 07/06/2001 12:12:24
At 02:29 PM 7/6/2001 -0400, Martin Girard wrote:
>Hi,
>
>There is a way to toggle a mechanism that dynamically enlarges virtual
>address space when we run out of pages ; we just define PMAP_GROWKERNEL.
>A function of the same name is being defined in <arch>/<arch>/pmap.c.
>However, it is not present for every platform. I especially noticed it
>isn't defined for any PowerPC platform, in fact.
>
>Now I wonder :
>
>=>Why isn't this feature available for the PowerPC ? (or am I wrong ?)

Because the way the KVA space is done, it just isn't possible.

>=>Would the machdep code be difficult to port from another platform ?

Impossible

>=>Is there a workaround to this feature, just in case ?

Not at the present time.

>I ask because I use a process with a lot of nondiscardable allocated
>memory and I quickly run out of available pages ; then the kernel
>immediately panics.

with what?  o
--
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message