Module Name: src
Committed By: jakllsch
Date: Wed Nov 14 20:03:29 UTC 2018
Modified Files:
src/sys/arch/aarch64/include: param.h
Log Message:
Switch to NKMEMPAGES_MAX_UNLIMITED.
This aligns aarch64 with our other modern 64-bit ports. Significantly
improves file caching utilization on aarch64 systems with copious RAM.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/aarch64/include/param.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/aarch64/include/param.h
diff -u src/sys/arch/aarch64/include/param.h:1.4 src/sys/arch/aarch64/include/param.h:1.5
--- src/sys/arch/aarch64/include/param.h:1.4 Fri Oct 12 01:28:58 2018
+++ src/sys/arch/aarch64/include/param.h Wed Nov 14 20:03:28 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: param.h,v 1.4 2018/10/12 01:28:58 ryo Exp $ */
+/* $NetBSD: param.h,v 1.5 2018/11/14 20:03:28 jakllsch Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -93,8 +93,8 @@
#define MAXPHYS 65536 /* max I/O transfer size */
#endif
-#define NKMEMPAGES_MAX_DEFAULT ((2048UL * 1024 * 1024) >> PAGE_SHIFT)
-#define NKMEMPAGES_MIN_DEFAULT ((128UL * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MIN_DEFAULT ((128UL * 1024 * 1024) >> PAGE_SHIFT)
+#define NKMEMPAGES_MAX_UNLIMITED 1
#ifdef AARCH64_PAGE_SHIFT
#if (1 << AARCH64_PAGE_SHIFT) & ~0x141000