Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Fix lingering page size comments.



details:   https://anonhg.NetBSD.org/src/rev/d6ddffecdf70
branches:  trunk
changeset: 962122:d6ddffecdf70
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jun 28 15:17:43 2019 +0000

description:
Fix lingering page size comments.

Pointed out by christos@ on port-m68k@:
http://mail-index.netbsd.org/port-m68k/2019/06/06/msg000726.html

XXX: we also need MAX_PAGE_SIZE in somewhere for newer jemalloc?

diffstat:

 sys/arch/cesfic/include/vmparam.h  |  7 ++++---
 sys/arch/hp300/include/vmparam.h   |  8 +++++---
 sys/arch/luna68k/include/vmparam.h |  7 ++++---
 sys/arch/mac68k/include/vmparam.h  |  7 ++++---
 sys/arch/mvme68k/include/vmparam.h |  7 ++++---
 sys/arch/news68k/include/vmparam.h |  7 ++++---
 sys/arch/next68k/include/vmparam.h |  7 ++++---
 sys/arch/x68k/include/vmparam.h    |  7 ++++---
 8 files changed, 33 insertions(+), 24 deletions(-)

diffs (169 lines):

diff -r fd71dbc9f9b5 -r d6ddffecdf70 sys/arch/cesfic/include/vmparam.h
--- a/sys/arch/cesfic/include/vmparam.h Fri Jun 28 15:10:32 2019 +0000
+++ b/sys/arch/cesfic/include/vmparam.h Fri Jun 28 15:17:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.17 2017/02/02 21:53:54 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.18 2019/06/28 15:17:43 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -46,8 +46,9 @@
  */
 
 /*
- * We use 4K pages on the cesfic.  Override the PAGE_* definitions
- * to be compile-time constants.
+ * hp300 pmap derived m68k ports can use 4K or 8K pages.
+ * The page size is specified by PGSHIFT in <machine/param.h>.
+ * Override the PAGE_* definitions to be compile-time constants.
  */
 #define        PAGE_SHIFT      PGSHIFT
 #define        PAGE_SIZE       (1 << PAGE_SHIFT)
diff -r fd71dbc9f9b5 -r d6ddffecdf70 sys/arch/hp300/include/vmparam.h
--- a/sys/arch/hp300/include/vmparam.h  Fri Jun 28 15:10:32 2019 +0000
+++ b/sys/arch/hp300/include/vmparam.h  Fri Jun 28 15:17:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.39 2017/02/02 21:53:54 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.40 2019/06/28 15:17:43 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -46,8 +46,10 @@
  */
 
 /*
- * We use 4K pages on the hp300.  Override the PAGE_* definitions
- * to be compile-time constants.
+ * hp300 pmap derived m68k ports can use 4K or 8K pages.
+ * (except HPMMU machines)
+ * The page size is specified by PGSHIFT in <machine/param.h>.
+ * Override the PAGE_* definitions to be compile-time constants.
  */
 #define        PAGE_SHIFT      PGSHIFT
 #define        PAGE_SIZE       (1 << PAGE_SHIFT)
diff -r fd71dbc9f9b5 -r d6ddffecdf70 sys/arch/luna68k/include/vmparam.h
--- a/sys/arch/luna68k/include/vmparam.h        Fri Jun 28 15:10:32 2019 +0000
+++ b/sys/arch/luna68k/include/vmparam.h        Fri Jun 28 15:17:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.21 2017/02/02 21:53:54 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.22 2019/06/28 15:17:43 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -42,8 +42,9 @@
 #define _MACHINE_VMPARAM_H_
 
 /*
- * We use 4K pages on the luna68k.  Override the PAGE_* definitions
- * to be compile-time constants.
+ * hp300 pmap derived m68k ports can use 4K or 8K pages.
+ * The page size is specified by PGSHIFT in <machine/param.h>.
+ * Override the PAGE_* definitions to be compile-time constants.
  */
 #define        PAGE_SHIFT      PGSHIFT
 #define        PAGE_SIZE       (1 << PAGE_SHIFT)
diff -r fd71dbc9f9b5 -r d6ddffecdf70 sys/arch/mac68k/include/vmparam.h
--- a/sys/arch/mac68k/include/vmparam.h Fri Jun 28 15:10:32 2019 +0000
+++ b/sys/arch/mac68k/include/vmparam.h Fri Jun 28 15:17:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.44 2017/02/02 21:53:54 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.45 2019/06/28 15:17:43 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -81,8 +81,9 @@
  */
 
 /*
- * We use 4K pages on the mac68k.  Override the PAGE_* definitions
- * to be compile-time constants.
+ * hp300 pmap derived m68k ports can use 4K or 8K pages.
+ * The page size is specified by PGSHIFT in <machine/param.h>.
+ * Override the PAGE_* definitions to be compile-time constants.
  */
 #define        PAGE_SHIFT      PGSHIFT
 #define        PAGE_SIZE       (1 << PAGE_SHIFT)
diff -r fd71dbc9f9b5 -r d6ddffecdf70 sys/arch/mvme68k/include/vmparam.h
--- a/sys/arch/mvme68k/include/vmparam.h        Fri Jun 28 15:10:32 2019 +0000
+++ b/sys/arch/mvme68k/include/vmparam.h        Fri Jun 28 15:17:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.36 2017/02/02 21:53:54 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.37 2019/06/28 15:17:44 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -46,8 +46,9 @@
  */
 
 /*
- * We use 4K pages on the mvme68k.  Override the PAGE_* definitions
- * to be compile-time constants.
+ * hp300 pmap derived m68k ports can use 4K or 8K pages.
+ * The page size is specified by PGSHIFT in <machine/param.h>.
+ * Override the PAGE_* definitions to be compile-time constants.
  */
 #define        PAGE_SHIFT      PGSHIFT
 #define        PAGE_SIZE       (1 << PAGE_SHIFT)
diff -r fd71dbc9f9b5 -r d6ddffecdf70 sys/arch/news68k/include/vmparam.h
--- a/sys/arch/news68k/include/vmparam.h        Fri Jun 28 15:10:32 2019 +0000
+++ b/sys/arch/news68k/include/vmparam.h        Fri Jun 28 15:17:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.21 2017/02/02 21:53:54 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.22 2019/06/28 15:17:44 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -46,8 +46,9 @@
  */
 
 /*
- * We use 4K pages on the news68k.  Override the PAGE_* definitions
- * to be compile time constants.
+ * hp300 pmap derived m68k ports can use 4K or 8K pages.
+ * The page size is specified by PGSHIFT in <machine/param.h>.
+ * Override the PAGE_* definitions to be compile-time constants.
  */
 #define        PAGE_SHIFT      PGSHIFT
 #define        PAGE_SIZE       (1 << PAGE_SHIFT)
diff -r fd71dbc9f9b5 -r d6ddffecdf70 sys/arch/next68k/include/vmparam.h
--- a/sys/arch/next68k/include/vmparam.h        Fri Jun 28 15:10:32 2019 +0000
+++ b/sys/arch/next68k/include/vmparam.h        Fri Jun 28 15:17:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.25 2017/02/02 21:53:54 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.26 2019/06/28 15:17:44 tsutsui Exp $     */
 
 /*
  * This file was taken from from mvme68k/include/vmparam.h and
@@ -53,8 +53,9 @@
  */
 
 /*
- * We use 4K pages on the NeXT.  Override the PAGE_* definitions
- * to be compile-time constants.
+ * hp300 pmap derived m68k ports can use 4K or 8K pages.
+ * The page size is specified by PGSHIFT in <machine/param.h>.
+ * Override the PAGE_* definitions to be compile-time constants.
  */
 #define        PAGE_SHIFT      PGSHIFT
 #define        PAGE_SIZE       (1 << PAGE_SHIFT)
diff -r fd71dbc9f9b5 -r d6ddffecdf70 sys/arch/x68k/include/vmparam.h
--- a/sys/arch/x68k/include/vmparam.h   Fri Jun 28 15:10:32 2019 +0000
+++ b/sys/arch/x68k/include/vmparam.h   Fri Jun 28 15:17:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.38 2017/02/02 21:53:55 rin Exp $ */
+/*     $NetBSD: vmparam.h,v 1.39 2019/06/28 15:17:44 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -46,8 +46,9 @@
  */
 
 /*
- * We use 4K pages on the X68K.  Override the PAGE_* definitions
- * to be compile-time constants.
+ * hp300 pmap derived m68k ports can use 4K or 8K pages.
+ * The page size is specified by PGSHIFT in <machine/param.h>.
+ * Override the PAGE_* definitions to be compile-time constants.
  */
 #define        PAGE_SHIFT      PGSHIFT
 #define        PAGE_SIZE       (1 << PAGE_SHIFT)



Home | Main Index | Thread Index | Old Index