Date: Sat, 23 Nov 2013 18:52:14 +0000 (UTC) From: Andreas Tobler <andreast@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258503 - head/sys/powerpc/pseries Message-ID: <201311231852.rANIqEZD020364@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andreast Date: Sat Nov 23 18:52:14 2013 New Revision: 258503 URL: http://svnweb.freebsd.org/changeset/base/258503 Log: Limit the large page size to 16MB for now. MFC after: 1 week Modified: head/sys/powerpc/pseries/mmu_phyp.c Modified: head/sys/powerpc/pseries/mmu_phyp.c ============================================================================== --- head/sys/powerpc/pseries/mmu_phyp.c Sat Nov 23 18:50:43 2013 (r258502) +++ head/sys/powerpc/pseries/mmu_phyp.c Sat Nov 23 18:52:14 2013 (r258503) @@ -165,6 +165,11 @@ mphyp_bootstrap(mmu_t mmup, vm_offset_t nptlp--; } } + + /* For now we allow shift only to be <= 0x18. */ + if (shift >= 0x18) + shift = 0x18; + moea64_large_page_shift = shift; moea64_large_page_size = 1ULL << shift; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311231852.rANIqEZD020364>