Simplify the allocation of page table pages for mips64. Specifically,
when allocation fails, it suffices to perform VM_WAIT. The direct map covers the entirely of physical memory, so unlike 32-bit mips any physical page can be used as a page table page.
This commit is contained in:
parent
0a95ab74df
commit
940be86497
@ -1036,7 +1036,7 @@ pmap_grow_direct_page_cache()
|
||||
{
|
||||
|
||||
#ifdef __mips_n64
|
||||
vm_pageout_grow_cache(3, 0, MIPS_XKPHYS_LARGEST_PHYS);
|
||||
VM_WAIT;
|
||||
#else
|
||||
vm_pageout_grow_cache(3, 0, MIPS_KSEG0_LARGEST_PHYS);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user