Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/aarch64/include Switch to NKMEMPAGES_MAX_UNLIMITED.
details: https://anonhg.NetBSD.org/src/rev/264ae123ac4f
branches: trunk
changeset: 994586:264ae123ac4f
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Wed Nov 14 20:03:28 2018 +0000
description:
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.
diffstat:
sys/arch/aarch64/include/param.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r c5497bdebaa0 -r 264ae123ac4f sys/arch/aarch64/include/param.h
--- a/sys/arch/aarch64/include/param.h Wed Nov 14 19:14:40 2018 +0000
+++ b/sys/arch/aarch64/include/param.h Wed Nov 14 20:03:28 2018 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index