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 Bump UPAGES effectively bumping pe...



details:   https://anonhg.NetBSD.org/src/rev/dfc408cbc989
branches:  trunk
changeset: 773527:dfc408cbc989
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sat Feb 04 23:04:15 2012 +0000

description:
Bump UPAGES effectively bumping per-process (system) stack i.e. the stack on
which traps are taken. When it was 8 it could run out of space on big NFS
stack traces in combination with timer and memory paging.

diffstat:

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

diffs (12 lines):

diff -r 3daeed08ca5a -r dfc408cbc989 sys/arch/usermode/include/genheaders.sh
--- a/sys/arch/usermode/include/genheaders.sh   Sat Feb 04 22:45:40 2012 +0000
+++ b/sys/arch/usermode/include/genheaders.sh   Sat Feb 04 23:04:15 2012 +0000
@@ -57,7 +57,7 @@
                echo "#undef __HAVE_PROCFS_MACHDEP" >> ${hdr}
        elif [ "$hdr" = "param.h" ]; then
                echo "#undef UPAGES" >> ${hdr}
-               echo "#define UPAGES 8" >> ${hdr}
+               echo "#define UPAGES 12" >> ${hdr}
                echo "#undef USPACE" >> ${hdr}
                echo "#define USPACE (PAGE_SIZE*UPAGES)" >> ${hdr}
        fi



Home | Main Index | Thread Index | Old Index