Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Enable VMSWAP_DEFAULT_PLAINTEXT as default.



details:   https://anonhg.NetBSD.org/src/rev/93bcf6d411f2
branches:  trunk
changeset: 984632:93bcf6d411f2
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 14 13:28:40 2021 +0000

description:
Enable VMSWAP_DEFAULT_PLAINTEXT as default.

diffstat:

 sys/arch/alpha/conf/std.alpha     |  6 +++++-
 sys/arch/cobalt/conf/std.cobalt   |  5 ++++-
 sys/arch/pmax/conf/std.pmax       |  5 ++++-
 sys/arch/pmax/conf/std.pmax64     |  5 ++++-
 sys/arch/shark/conf/std.ofwgencfg |  5 ++++-
 sys/arch/shark/conf/std.shark     |  5 ++++-
 6 files changed, 25 insertions(+), 6 deletions(-)

diffs (105 lines):

diff -r 9974876d64ca -r 93bcf6d411f2 sys/arch/alpha/conf/std.alpha
--- a/sys/arch/alpha/conf/std.alpha     Wed Jul 14 13:24:58 2021 +0000
+++ b/sys/arch/alpha/conf/std.alpha     Wed Jul 14 13:28:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.alpha,v 1.27 2020/09/19 03:27:42 thorpej Exp $
+# $NetBSD: std.alpha,v 1.28 2021/07/14 13:28:40 thorpej Exp $
 #
 # Standard/required configuration info for NetBSD/alpha.
 
@@ -15,5 +15,9 @@
 
 options        MULTIPROCESSOR          # include multiprocessor support
 
+# Don't encrypt swap by default.  The systems most likely to heavily use
+# swap space have slow CPUs by modern standards.
+options                VMSWAP_DEFAULT_PLAINTEXT
+
 # Atheros HAL options
 include "external/isc/atheros_hal/conf/std.ath_hal"
diff -r 9974876d64ca -r 93bcf6d411f2 sys/arch/cobalt/conf/std.cobalt
--- a/sys/arch/cobalt/conf/std.cobalt   Wed Jul 14 13:24:58 2021 +0000
+++ b/sys/arch/cobalt/conf/std.cobalt   Wed Jul 14 13:28:40 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: std.cobalt,v 1.15 2011/02/20 07:54:10 matt Exp $
+#      $NetBSD: std.cobalt,v 1.16 2021/07/14 13:32:37 thorpej Exp $
 
 machine cobalt mips
 include                "conf/std"      # MI standard options
@@ -9,4 +9,7 @@
 options        EXEC_ELF32      # exec ELF32 binaries
 options        EXEC_SCRIPT     # exec #! scripts
 
+options                VMSWAP_DEFAULT_PLAINTEXT        # do not encrypt swap by
+                                               # default (slow cpu)
+
 makeoptions    DEFTEXTADDR="0x80001000"
diff -r 9974876d64ca -r 93bcf6d411f2 sys/arch/pmax/conf/std.pmax
--- a/sys/arch/pmax/conf/std.pmax       Wed Jul 14 13:24:58 2021 +0000
+++ b/sys/arch/pmax/conf/std.pmax       Wed Jul 14 13:28:40 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: std.pmax,v 1.18 2005/12/11 12:18:36 christos Exp $
+#      $NetBSD: std.pmax,v 1.19 2021/07/14 13:32:37 thorpej Exp $
 # standard, required pmax info
 
 machine pmax mips
@@ -9,4 +9,7 @@
 options        EXEC_ELF32      # 32-bit ELF support (native format)
 options        EXEC_SCRIPT     # exec of #! scripts
 
+options                VMSWAP_DEFAULT_PLAINTEXT        # do not encrypt swap by
+                                               # default (slow cpu)
+
 makeoptions    DEFTEXTADDR="0x80030000"
diff -r 9974876d64ca -r 93bcf6d411f2 sys/arch/pmax/conf/std.pmax64
--- a/sys/arch/pmax/conf/std.pmax64     Wed Jul 14 13:24:58 2021 +0000
+++ b/sys/arch/pmax/conf/std.pmax64     Wed Jul 14 13:28:40 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: std.pmax64,v 1.2 2009/12/14 00:46:10 matt Exp $
+#      $NetBSD: std.pmax64,v 1.3 2021/07/14 13:32:37 thorpej Exp $
 # standard, required pmax info
 
 machine pmax mips
@@ -11,5 +11,8 @@
 options        EXEC_SCRIPT     # exec of #! scripts
 options        COMPAT_NETBSD32 # exec NetBSD 32-bit binaries
 
+options                VMSWAP_DEFAULT_PLAINTEXT        # do not encrypt swap by
+                                               # default (slow cpu)
+
 makeoptions    DEFTEXTADDR="0x80030000"
 makeoptions    LP64="yes"
diff -r 9974876d64ca -r 93bcf6d411f2 sys/arch/shark/conf/std.ofwgencfg
--- a/sys/arch/shark/conf/std.ofwgencfg Wed Jul 14 13:24:58 2021 +0000
+++ b/sys/arch/shark/conf/std.ofwgencfg Wed Jul 14 13:28:40 2021 +0000
@@ -1,7 +1,10 @@
-#      $NetBSD: std.ofwgencfg,v 1.1 2002/02/10 01:57:04 thorpej Exp $
+#      $NetBSD: std.ofwgencfg,v 1.2 2021/07/14 13:28:40 thorpej Exp $
 #
 # Configuration options for generic OpenFirmware configurations.
 #
 
+options                VMSWAP_DEFAULT_PLAINTEXT        # do not encrypt swap by
+                                               # default (slow cpu)
+
 # Pull in OFWGENCFG config definitions.
 include "arch/arm/ofw/files.ofwgencfg"
diff -r 9974876d64ca -r 93bcf6d411f2 sys/arch/shark/conf/std.shark
--- a/sys/arch/shark/conf/std.shark     Wed Jul 14 13:24:58 2021 +0000
+++ b/sys/arch/shark/conf/std.shark     Wed Jul 14 13:28:40 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: std.shark,v 1.11 2018/01/17 20:30:17 skrll Exp $
+#      $NetBSD: std.shark,v 1.12 2021/07/14 13:28:40 thorpej Exp $
 #
 # standard NetBSD/shark options
 
@@ -10,6 +10,9 @@
 options        EXEC_ELF32
 options        EXEC_SCRIPT
 
+options                VMSWAP_DEFAULT_PLAINTEXT        # do not encrypt swap by
+                                               # default (slow cpu)
+
 # To support easy transit to ../arch/arm/arm32
 options        ARM32
 options        _ARM32_NEED_BUS_DMA_BOUNCE



Home | Main Index | Thread Index | Old Index