Subject: page fault on wired page
To: 'port-arm32@netbsd.org' <port-arm32@netbsd.org>
From: Unice, Kyle <kyle.unice@intel.com>
List: port-arm32
Date: 02/09/2001 12:18:46
The first time that malloc is called malloc calls uvm_km_kmemalloc() which
in turn ends up calling pmap_kenter_pa.
pmap_kenter_pa calls pmap_enter with flags of WIRED.  The pte is not valid
so it calls vm_physseg_find (approx line
2139) which returns a bank number.  Then next if statement tests the bank
against -1 and succeeds but then no permissions
are enabled on the page since none of the VM_???? flags are set.

Then when malloc writes to the memory he faults.  

Question:
	should malloc be faulting on a page that is wired?

Kyle