Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include/arm32 Restore PAGER_MAP_DEFAULT_SIZE fo...
details: https://anonhg.NetBSD.org/src/rev/8f1b74c9aead
branches: trunk
changeset: 336297:8f1b74c9aead
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Feb 24 22:02:40 2015 +0000
description:
Restore PAGER_MAP_DEFAULT_SIZE for ARMv4, they typically have only 256MB
KVA.
diffstat:
sys/arch/arm/include/arm32/vmparam.h | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 06349e1af5d9 -r 8f1b74c9aead sys/arch/arm/include/arm32/vmparam.h
--- a/sys/arch/arm/include/arm32/vmparam.h Tue Feb 24 20:06:09 2015 +0000
+++ b/sys/arch/arm/include/arm32/vmparam.h Tue Feb 24 22:02:40 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.35 2014/07/27 21:31:34 skrll Exp $ */
+/* $NetBSD: vmparam.h,v 1.36 2015/02/24 22:02:40 joerg Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -50,6 +50,14 @@
#define USRSTACK VM_MAXUSER_ADDRESS
/*
+ * ARMv4 systems are normaly configured for 256MB KVA only, so restrict
+ * the size of the pager map to 4MB.
+ */
+#ifndef _ARM_ARCH_5
+#define PAGER_MAP_DEFAULT_SIZE (4 * 1024 * 1024)
+#endif
+
+/*
* Note that MAXTSIZ can't be larger than 32M, otherwise the compiler
* would have to be changed to not generate "bl" instructions.
*/
Home |
Main Index |
Thread Index |
Old Index