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 Clarify comment about PAGER_MAP_DE...



details:   https://anonhg.NetBSD.org/src/rev/20e9f5230fba
branches:  trunk
changeset: 772639:20e9f5230fba
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Jan 10 10:19:38 2012 +0000

description:
Clarify comment about PAGER_MAP_DEFAULT_SIZE

diffstat:

 sys/arch/usermode/include/vmparam.h |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r d9f628584c52 -r 20e9f5230fba sys/arch/usermode/include/vmparam.h
--- a/sys/arch/usermode/include/vmparam.h       Tue Jan 10 10:09:49 2012 +0000
+++ b/sys/arch/usermode/include/vmparam.h       Tue Jan 10 10:19:38 2012 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -51,8 +51,12 @@
 
 #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



Home | Main Index | Thread Index | Old Index