aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/mips/pmap.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2015-05-23 16:54:46 +0000
committerAlan Cox <alc@FreeBSD.org>2015-05-23 16:54:46 +0000
commit940be86497cd228a4d12374b1527d969799c62be (patch)
tree8b7afbb9a9fba26573a3adc4341b33b390ac124e /sys/mips/mips/pmap.c
parent0a95ab74dfd2843bd30daafcef6526d4bde9bd87 (diff)
downloadsrc-940be86497cd228a4d12374b1527d969799c62be.tar.gz
src-940be86497cd228a4d12374b1527d969799c62be.zip
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.
Notes
Notes: svn path=/head/; revision=283316
Diffstat (limited to 'sys/mips/mips/pmap.c')
-rw-r--r--sys/mips/mips/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c
index dacf43fc23ec..7ab4244d9685 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