Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Remove VM_MAX_KERNEL_BUF (unused). Looks like sever...
details: https://anonhg.NetBSD.org/src/rev/47c81f3acbb7
branches: trunk
changeset: 351381:47c81f3acbb7
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Feb 11 15:05:15 2017 +0000
description:
Remove VM_MAX_KERNEL_BUF (unused). Looks like several other ports could
do the same.
diffstat:
sys/arch/amd64/include/vmparam.h | 9 +--------
sys/arch/i386/include/vmparam.h | 7 +------
2 files changed, 2 insertions(+), 14 deletions(-)
diffs (44 lines):
diff -r a820722efd35 -r 47c81f3acbb7 sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h Sat Feb 11 14:57:15 2017 +0000
+++ b/sys/arch/amd64/include/vmparam.h Sat Feb 11 15:05:15 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.38 2016/11/19 09:22:03 maxv Exp $ */
+/* $NetBSD: vmparam.h,v 1.39 2017/02/11 15:05:15 maxv Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -143,13 +143,6 @@
#define VM_DEFAULT_ADDRESS32_BOTTOMUP(da, sz) \
round_page((vaddr_t)(da) + (vsize_t)MAXDSIZ32)
-/*
- * XXXfvdl we have plenty of KVM now, remove this.
- */
-#ifndef VM_MAX_KERNEL_BUF
-#define VM_MAX_KERNEL_BUF (384 * 1024 * 1024)
-#endif
-
/* virtual sizes (bytes) for various kernel submaps */
#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
diff -r a820722efd35 -r 47c81f3acbb7 sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h Sat Feb 11 14:57:15 2017 +0000
+++ b/sys/arch/i386/include/vmparam.h Sat Feb 11 15:05:15 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.83 2016/11/19 09:22:03 maxv Exp $ */
+/* $NetBSD: vmparam.h,v 1.84 2017/02/11 15:05:15 maxv Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -119,11 +119,6 @@
#define VM_DEFAULT_ADDRESS_BOTTOMUP(da, sz) \
round_page((vaddr_t)(da) + (vsize_t)MIN(maxdmap, MAXDSIZ_BU))
-/* XXX max. amount of KVM to be used by buffers. */
-#ifndef VM_MAX_KERNEL_BUF
-#define VM_MAX_KERNEL_BUF (384 * 1024 * 1024)
-#endif
-
/* virtual sizes (bytes) for various kernel submaps */
#define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
Home |
Main Index |
Thread Index |
Old Index