Module Name: src
Committed By: reinoud
Date: Tue Jan 10 10:19:38 UTC 2012
Modified Files:
src/sys/arch/usermode/include: vmparam.h
Log Message:
Clarify comment about PAGER_MAP_DEFAULT_SIZE
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/include/vmparam.h
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/vmparam.h
diff -u src/sys/arch/usermode/include/vmparam.h:1.14 src/sys/arch/usermode/include/vmparam.h:1.15
--- src/sys/arch/usermode/include/vmparam.h:1.14 Fri Jan 6 12:53:07 2012
+++ src/sys/arch/usermode/include/vmparam.h Tue Jan 10 10:19:38 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.14 2012/01/06 12:53:07 reinoud Exp $ */
+/* $NetBSD: vmparam.h,v 1.15 2012/01/10 10:19:38 reinoud Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <[email protected]>
@@ -51,8 +51,12 @@ extern paddr_t kmem_user_start, kmem_use
#define USRSTACK VM_MAXUSER_ADDRESS
-/* override the default pager_map size, there is little KVA */
-#define PAGER_MAP_DEFAULT_SIZE (8 * 1024 * 1024)
+/*
+ * When an architecture has little KVA then override the default pager_map
+ * size in its block by limiting it like this:
+ *
+ * #define PAGER_MAP_DEFAULT_SIZE (8 * 1024 * 1024)
+ */
#if defined(__i386__)
#define PAGE_SHIFT 12