Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include Add one more page for the stack, to c...
details: https://anonhg.NetBSD.org/src/rev/0e7a04c9aabb
branches: trunk
changeset: 360544:0e7a04c9aabb
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Mar 16 08:21:56 2018 +0000
description:
Add one more page for the stack, to compensate for the fact that SVS's
stack switching mechanism consumes approximately one page.
diffstat:
sys/arch/amd64/include/param.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r b55632e535d7 -r 0e7a04c9aabb sys/arch/amd64/include/param.h
--- a/sys/arch/amd64/include/param.h Fri Mar 16 08:21:45 2018 +0000
+++ b/sys/arch/amd64/include/param.h Fri Mar 16 08:21:56 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.24 2018/02/19 13:02:47 sborrill Exp $ */
+/* $NetBSD: param.h,v 1.25 2018/03/16 08:21:56 maxv Exp $ */
#ifdef __x86_64__
@@ -58,9 +58,9 @@
#define SSIZE 1 /* initial stack size/NBPG */
#define SINCR 1 /* increment of stack/NBPG */
#ifdef DIAGNOSTIC
-#define UPAGES 4 /* pages of u-area (1 for redzone) */
+#define UPAGES 5 /* pages of u-area (1 for redzone) */
#else
-#define UPAGES 3 /* pages of u-area */
+#define UPAGES 4 /* pages of u-area */
#endif
#define USPACE (UPAGES * NBPG) /* total size of u-area */
Home |
Main Index |
Thread Index |
Old Index