Module Name: src
Committed By: thorpej
Date: Wed Jul 14 13:28:40 UTC 2021
Modified Files:
src/sys/arch/alpha/conf: std.alpha
src/sys/arch/shark/conf: std.ofwgencfg std.shark
Log Message:
Enable VMSWAP_DEFAULT_PLAINTEXT as default.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/alpha/conf/std.alpha
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/shark/conf/std.ofwgencfg
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/shark/conf/std.shark
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/alpha/conf/std.alpha
diff -u src/sys/arch/alpha/conf/std.alpha:1.27 src/sys/arch/alpha/conf/std.alpha:1.28
--- src/sys/arch/alpha/conf/std.alpha:1.27 Sat Sep 19 03:27:42 2020
+++ src/sys/arch/alpha/conf/std.alpha Wed Jul 14 13:28:40 2021
@@ -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 EXEC_SCRIPT # shell script supp
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"
Index: src/sys/arch/shark/conf/std.ofwgencfg
diff -u src/sys/arch/shark/conf/std.ofwgencfg:1.1 src/sys/arch/shark/conf/std.ofwgencfg:1.2
--- src/sys/arch/shark/conf/std.ofwgencfg:1.1 Sun Feb 10 01:57:04 2002
+++ src/sys/arch/shark/conf/std.ofwgencfg Wed Jul 14 13:28:40 2021
@@ -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"
Index: src/sys/arch/shark/conf/std.shark
diff -u src/sys/arch/shark/conf/std.shark:1.11 src/sys/arch/shark/conf/std.shark:1.12
--- src/sys/arch/shark/conf/std.shark:1.11 Wed Jan 17 20:30:17 2018
+++ src/sys/arch/shark/conf/std.shark Wed Jul 14 13:28:40 2021
@@ -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_AOUT
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