Module Name:    src
Committed By:   ad
Date:           Wed Jan 22 16:52:46 UTC 2020

Modified Files:
        src/sys/arch/amd64/include: param.h vmparam.h

Log Message:
Move the UBC defaults into vmparam.h


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/amd64/include/param.h
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/amd64/include/vmparam.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/amd64/include/param.h
diff -u src/sys/arch/amd64/include/param.h:1.34 src/sys/arch/amd64/include/param.h:1.35
--- src/sys/arch/amd64/include/param.h:1.34	Fri Jan 17 21:14:16 2020
+++ src/sys/arch/amd64/include/param.h	Wed Jan 22 16:52:46 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.34 2020/01/17 21:14:16 ad Exp $	*/
+/*	$NetBSD: param.h,v 1.35 2020/01/22 16:52:46 ad Exp $	*/
 
 #ifdef __x86_64__
 
@@ -113,17 +113,6 @@
 #define	NKMEMPAGES_MAX_UNLIMITED 1
 
 /*
- * Defaults for Unified Buffer Cache parameters.
- */
-
-#ifndef UBC_WINSHIFT
-#define	UBC_WINSHIFT	16	/* 64kB */
-#endif
-#ifndef UBC_NWINS
-#define	UBC_NWINS	4096	/* 256MB */
-#endif
-
-/*
  * XXXfvdl the PD* stuff is different from i386.
  */
 /*

Index: src/sys/arch/amd64/include/vmparam.h
diff -u src/sys/arch/amd64/include/vmparam.h:1.51 src/sys/arch/amd64/include/vmparam.h:1.52
--- src/sys/arch/amd64/include/vmparam.h:1.51	Mon Feb 11 14:59:32 2019
+++ src/sys/arch/amd64/include/vmparam.h	Wed Jan 22 16:52:46 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.51 2019/02/11 14:59:32 cherry Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.52 2020/01/22 16:52:46 ad Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -63,6 +63,17 @@
 #define	PAGER_MAP_DEFAULT_SIZE (512 * 1024 * 1024)
 
 /*
+ * Defaults for Unified Buffer Cache parameters.
+ */
+
+#ifndef UBC_WINSHIFT
+#define	UBC_WINSHIFT	16	/* 64kB */
+#endif
+#ifndef UBC_NWINS
+#define	UBC_NWINS	4096	/* 256MB */
+#endif
+
+/*
  * USRSTACK is the top (end) of the user stack. Immediately above the
  * user stack resides the user structure, which is UPAGES long and contains
  * the kernel stack.

Reply via email to