Subject: Re: crash, bang...
To: Erik E. Fair <fair@digital.clock.org>
From: Mark Brinicombe <mark@causality.com>
List: port-arm32
Date: 10/07/1998 16:04:43
On Wed, 7 Oct 1998, Erik E. Fair wrote:

> While attempting to do a -current build, my poor netbooted shark panic'd, thusly:
> 
> panic: pmap_enter: No more physical pages

Opps ...

Ok this can occur when pmap_enter() is called to map in a page for which a
page table does not exist. pmap_enter() will first try and allocate a page
table and map that and then map in the desired page. For this panic to
occurs means that the uvm_pagealloc() call to get a page from the VM to
use as a page table failed.

I need to look at a solution for this. What comes to mind is that I need
to implement pmap_collect() in order to recover some memory and/or give
the pagedaemon a look in as it will have been woken by uvm_pagealloc().

Cheers,
					Mark