Module Name: src Committed By: reinoud Date: Sun Feb 5 17:39:18 UTC 2012
Modified Files: src/sys/arch/usermode/include: genheaders.sh Log Message: With the recent kmem changes, remove the `unlimited' maximum setting of NKMEMPAGES from amd64 since it gets us into trouble. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/include/genheaders.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/usermode/include/genheaders.sh diff -u src/sys/arch/usermode/include/genheaders.sh:1.7 src/sys/arch/usermode/include/genheaders.sh:1.8 --- src/sys/arch/usermode/include/genheaders.sh:1.7 Sat Feb 4 23:04:15 2012 +++ src/sys/arch/usermode/include/genheaders.sh Sun Feb 5 17:39:18 2012 @@ -60,6 +60,9 @@ EOF echo "#define UPAGES 12" >> ${hdr} echo "#undef USPACE" >> ${hdr} echo "#define USPACE (PAGE_SIZE*UPAGES)" >> ${hdr} + echo "" >> ${hdr} + echo "#undef NKMEMPAGES_MAX_UNLIMITED" >> ${hdr} + echo "#include \"opt_kmempages.h\"" >> ${hdr} fi echo >>${hdr}