Please spare some change for the mips64 memory-challenged machines..
Some change, Sir?
Fixes at least the octeon platform. Found the hardway on my DSR500.
Found by Boss tedu@ and Boss deraadt@
Okay Boss miod@
-/* $OpenBSD: uvm_map.c,v 1.172 2014/07/13 08:15:16 tedu Exp $ */
+/* $OpenBSD: uvm_map.c,v 1.173 2014/07/13 15:33:28 pirofti Exp $ */
/* $NetBSD: uvm_map.c,v 1.86 2000/11/27 08:40:03 chs Exp $ */
/*
}
#endif
-#ifdef __LP64__
+#if defined (__LP64__) && !defined (__mips64__)
spacing = (MIN((4UL * 1024 * 1024 * 1024), BRKSIZ) - 1);
#else
spacing = (MIN((256 * 1024 * 1024), BRKSIZ) - 1);