Subject: Re: pmap: Cannot allocate physical memory for L1 (12)
To: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
From: Mike Pumford <mpumford@black-star.demon.co.uk>
List: port-arm32
Date: 09/14/1999 19:45:30
> On Mon, Sep 13, 1999 at 07:56:32PM -0400, Bill Sommerfeld wrote:
> > the top level per-process page table on arm has to be a 16kb
> > contiguous chunk of memory.  if you don't have 4 contiguous free
> > pages, the pmap gets unhappy.
> And? Is there something I can do to prevent this?
> (kernel option to reserve some memory etc.)
> Is it a known bug or should I PR this?
>
It is a known limitation but I don't know if there is an open PR on it. To 
reserve more space then you should specify a maxproc argument to the kernel at 
boot time. I set mine to around 80 without problems and the machine will quite 
happily do a couple of builds in parallel without hitting the wall. There is 
also a PMAP_STATIC_L1S kernel option which can be used reserve this space. See 
the CATS kernel config file for an example. I haven't tried this on a RISC PC 
but it ought to work.

Mike