diff options
author | alc <alc@FreeBSD.org> | 2015-05-23 16:54:46 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2015-05-23 16:54:46 +0000 |
commit | 7ec6cd48d050f08cc2fd1c978fd1814c690db4cf (patch) | |
tree | 8b7afbb9a9fba26573a3adc4341b33b390ac124e | |
parent | fe0f292016ddd669523eb994dfa3c352edd4d9a0 (diff) | |
download | FreeBSD-src-7ec6cd48d050f08cc2fd1c978fd1814c690db4cf.zip FreeBSD-src-7ec6cd48d050f08cc2fd1c978fd1814c690db4cf.tar.gz |
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.
-rw-r--r-- | sys/mips/mips/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c index dacf43f..7ab4244 100644 --- a/sys/mips/mips/pmap.c +++ b/sys/mips/mips/pmap.c @@ -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 |