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 increase NKMEMPAGES_MAX_DEFAULT to 1 GB.



details:   https://anonhg.NetBSD.org/src/rev/1ab66356bec8
branches:  trunk
changeset: 588216:1ab66356bec8
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Feb 12 01:12:48 2006 +0000

description:
increase NKMEMPAGES_MAX_DEFAULT to 1 GB.
this allows lots more memory to be used for amaps, etc.

diffstat:

 sys/arch/amd64/include/param.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2542314d5522 -r 1ab66356bec8 sys/arch/amd64/include/param.h
--- a/sys/arch/amd64/include/param.h    Sun Feb 12 01:04:39 2006 +0000
+++ b/sys/arch/amd64/include/param.h    Sun Feb 12 01:12:48 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.1 2003/04/26 18:39:45 fvdl Exp $   */
+/*     $NetBSD: param.h,v 1.2 2006/02/12 01:12:48 chs Exp $    */
 
 #ifdef _KERNEL
 #ifdef _LOCORE
@@ -107,7 +107,7 @@
  * logical pages.
  */
 #define        NKMEMPAGES_MIN_DEFAULT  ((8 * 1024 * 1024) >> PAGE_SHIFT)
-#define        NKMEMPAGES_MAX_DEFAULT  ((128 * 1024 * 1024) >> PAGE_SHIFT)
+#define        NKMEMPAGES_MAX_DEFAULT  ((1 *1024 * 1024 * 1024) >> PAGE_SHIFT)
 
 /* pages ("clicks") to disk blocks */
 #define        ctod(x)         ((x) << (PGSHIFT - DEV_BSHIFT))



Home | Main Index | Thread Index | Old Index