Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode/include With the recent kmem changes, remo...



details:   https://anonhg.NetBSD.org/src/rev/2f20f19f0f77
branches:  trunk
changeset: 773544:2f20f19f0f77
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sun Feb 05 17:39:18 2012 +0000

description:
With the recent kmem changes, remove the `unlimited' maximum setting of
NKMEMPAGES from amd64 since it gets us into trouble.

diffstat:

 sys/arch/usermode/include/genheaders.sh |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r c5dec1b76164 -r 2f20f19f0f77 sys/arch/usermode/include/genheaders.sh
--- a/sys/arch/usermode/include/genheaders.sh   Sun Feb 05 17:38:21 2012 +0000
+++ b/sys/arch/usermode/include/genheaders.sh   Sun Feb 05 17:39:18 2012 +0000
@@ -60,6 +60,9 @@
                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}



Home | Main Index | Thread Index | Old Index