From 516ab9d2173e13746e915d4bc8481183431bcc84 Mon Sep 17 00:00:00 2001 From: mglocker Date: Wed, 8 Nov 2023 18:59:01 +0000 Subject: [PATCH] Increase NKMEMPAGES_MAX_DEFAULT to same value as on amd64. OK deraadt@ --- sys/arch/i386/include/param.h | 4 ++-- 1 file 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 -- 2.20.1