Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/chs-ubc2]: src/sys/arch add UBC parameters.
details: https://anonhg.NetBSD.org/src/rev/9888ecc35f54
branches: chs-ubc2
changeset: 471356:9888ecc35f54
user: chs <chs%NetBSD.org@localhost>
date: Sun Jul 04 01:27:57 1999 +0000
description:
add UBC parameters.
diffstat:
sys/arch/alpha/include/vmparam.h | 9 ++++++++-
sys/arch/i386/include/vmparam.h | 9 ++++++++-
sys/arch/sparc/include/vmparam.h | 10 +++++++++-
3 files changed, 25 insertions(+), 3 deletions(-)
diffs (67 lines):
diff -r 2f24f0322ebb -r 9888ecc35f54 sys/arch/alpha/include/vmparam.h
--- a/sys/arch/alpha/include/vmparam.h Fri Jul 02 22:43:23 1999 +0000
+++ b/sys/arch/alpha/include/vmparam.h Sun Jul 04 01:27:57 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.14 1999/03/26 00:15:05 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.14.4.1 1999/07/04 01:27:57 chs Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -167,6 +167,13 @@
#define VM_FREELIST_DEFAULT 0
/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 1024
+
+/*
* pmap-specific data stored in the vm_physmem[] array.
*/
struct pmap_physseg {
diff -r 2f24f0322ebb -r 9888ecc35f54 sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h Fri Jul 02 22:43:23 1999 +0000
+++ b/sys/arch/i386/include/vmparam.h Sun Jul 04 01:27:57 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.30.4.1 1999/06/21 00:50:01 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.30.4.2 1999/07/04 01:27:57 chs Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -155,6 +155,13 @@
#define VM_FREELIST_FIRST16 1
/*
+ * Parameters for Unified Buffer Cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 2048
+
+/*
* pmap specific data stored in the vm_physmem[] array
*/
struct pmap_physseg {
diff -r 2f24f0322ebb -r 9888ecc35f54 sys/arch/sparc/include/vmparam.h
--- a/sys/arch/sparc/include/vmparam.h Fri Jul 02 22:43:23 1999 +0000
+++ b/sys/arch/sparc/include/vmparam.h Sun Jul 04 01:27:57 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.18.4.1 1999/06/21 01:01:45 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.18.4.2 1999/07/04 01:27:58 chs Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -145,3 +145,11 @@
struct pmap_physseg {
/* NULL */
};
+
+
+/*
+ * Parameters for unified buffer cache.
+ */
+
+#define UBC_WINSIZE 8192
+#define UBC_NWINS 256
Home |
Main Index |
Thread Index |
Old Index