Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Fixing PR port-i386/45946 (Kernel locks up in VMEM system)



        Hello,

NetBSD-current has recently stopped working on my 3GB NetBSD virtual machine
because of the KMEM changes.

Lars Heidieker proposed the following change:

Index: sys/arch/i386/include/param.h
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/include/param.h,v
retrieving revision 1.75
diff -u -r1.75 param.h
--- sys/arch/i386/include/param.h       4 Feb 2012 17:56:16 -0000       1.75
+++ sys/arch/i386/include/param.h       10 Feb 2012 13:27:42 -0000
@@ -129,7 +129,7 @@
  * logical pages.
  */
 #define        NKMEMPAGES_MIN_DEFAULT  ((8 * 1024 * 1024) >> PAGE_SHIFT)
-#define        NKMEMPAGES_MAX_DEFAULT  ((280 * 1024 * 1024) >> PAGE_SHIFT)
+#define        NKMEMPAGES_MAX_DEFAULT  ((360 * 1024 * 1024) >> PAGE_SHIFT)
 
 /*
  * Mach derived conversion macros

And this change fixes all the problems I have observed.

Is there any reason not to commit that? I'm particular wondering what
influence the patch will have on machines with low amounts of memory.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index