Author: alc Date: Sat May 23 16:54:46 2015 New Revision: 283316 URL: https://svnweb.freebsd.org/changeset/base/283316
Log: 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. Modified: head/sys/mips/mips/pmap.c Modified: head/sys/mips/mips/pmap.c ============================================================================== --- head/sys/mips/mips/pmap.c Sat May 23 14:59:27 2015 (r283315) +++ head/sys/mips/mips/pmap.c Sat May 23 16:54:46 2015 (r283316) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"