summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2023-11-08 18:59:02 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2023-11-08 18:59:02 +0000
commit102d0524ad3b9111ad1e6ed6e68f96ef16fc9405 (patch)
tree023a8eacbbb679eca1369a5ebe806ff8f399f764
parentb3c3d1533586e201539e19e933b67e8520ceac5f (diff)
Increase NKMEMPAGES_MAX_DEFAULT to same value as on amd64.
OK deraadt@
-rw-r--r--sys/arch/i386/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/param.h b/sys/arch/i386/include/param.h
index 87f50a528e8..eabc86c62b3 100644
--- a/sys/arch/i386/include/param.h
+++ b/sys/arch/i386/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.51 2022/02/05 20:31:26 daniel Exp $ */
+/* $OpenBSD: param.h,v 1.52 2023/11/08 18:59:01 mglocker Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -77,7 +77,7 @@
* Maximum size of the kernel malloc arena in PAGE_SIZE-sized
* logical pages.
*/
-#define NKMEMPAGES_MAX_DEFAULT ((64 * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT)
#define __HAVE_ACPI