Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Sprinkle a few VMSWAP_DEFAULT_PLAINTEXT for archite...
details: https://anonhg.NetBSD.org/src/rev/4355cc8c05c4
branches: trunk
changeset: 1021547:4355cc8c05c4
user: martin <martin%NetBSD.org@localhost>
date: Fri Jun 04 10:46:11 2021 +0000
description:
Sprinkle a few VMSWAP_DEFAULT_PLAINTEXT for architectures where we do not
have any spare cpu cycles to waste (encrypted swap still could be
enabled by the admin in /etc/sysctl.conf).
diffstat:
sys/arch/m68k/conf/std.m68k | 5 ++++-
sys/arch/playstation2/conf/std.playstation2 | 6 +++++-
sys/arch/sh3/conf/std.sh3 | 6 +++++-
sys/arch/sparc/conf/std.sparc | 6 +++++-
sys/arch/vax/conf/std.vax | 6 +++++-
5 files changed, 24 insertions(+), 5 deletions(-)
diffs (84 lines):
diff -r 3437827fa12f -r 4355cc8c05c4 sys/arch/m68k/conf/std.m68k
--- a/sys/arch/m68k/conf/std.m68k Fri Jun 04 10:46:01 2021 +0000
+++ b/sys/arch/m68k/conf/std.m68k Fri Jun 04 10:46:11 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.m68k,v 1.1 2010/09/19 02:09:28 tsutsui Exp $
+# $NetBSD: std.m68k,v 1.2 2021/06/04 10:46:11 martin Exp $
#
# standard, required NetBSD/m68k options
@@ -6,3 +6,6 @@
options EXEC_SCRIPT # exec #! scripts
options CPU_IN_CKSUM # use MD optimized cpu_in_cksum()
+
+options VMSWAP_DEFAULT_PLAINTEXT # do not encrypt swap by
+ # default (slow cpu)
diff -r 3437827fa12f -r 4355cc8c05c4 sys/arch/playstation2/conf/std.playstation2
--- a/sys/arch/playstation2/conf/std.playstation2 Fri Jun 04 10:46:01 2021 +0000
+++ b/sys/arch/playstation2/conf/std.playstation2 Fri Jun 04 10:46:11 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.playstation2,v 1.11 2014/03/31 11:43:53 martin Exp $
+# $NetBSD: std.playstation2,v 1.12 2021/06/04 10:46:11 martin Exp $
machine playstation2 mips
include "conf/std" # MI standard options
@@ -20,3 +20,7 @@
makeoptions DEFTEXTADDR="0x80010000"
makeoptions DEFCOPTS="-Os -mmemcpy"
+
+options VMSWAP_DEFAULT_PLAINTEXT # do not encrypt swap by
+ # default (slow cpu)
+
diff -r 3437827fa12f -r 4355cc8c05c4 sys/arch/sh3/conf/std.sh3
--- a/sys/arch/sh3/conf/std.sh3 Fri Jun 04 10:46:01 2021 +0000
+++ b/sys/arch/sh3/conf/std.sh3 Fri Jun 04 10:46:11 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.sh3,v 1.6 2008/02/02 03:06:04 uwe Exp $
+# $NetBSD: std.sh3,v 1.7 2021/06/04 10:46:11 martin Exp $
#
# standard, required NetBSD/sh3 'options'
@@ -6,3 +6,7 @@
options EXEC_SCRIPT # exec #! scripts
options CPU_IN_CKSUM # use assembler version of cpu_in_cksum()
+
+options VMSWAP_DEFAULT_PLAINTEXT # do not encrypt swap by
+ # default (slow cpu)
+
diff -r 3437827fa12f -r 4355cc8c05c4 sys/arch/sparc/conf/std.sparc
--- a/sys/arch/sparc/conf/std.sparc Fri Jun 04 10:46:01 2021 +0000
+++ b/sys/arch/sparc/conf/std.sparc Fri Jun 04 10:46:11 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.sparc,v 1.23 2010/09/20 10:21:10 tsutsui Exp $
+# $NetBSD: std.sparc,v 1.24 2021/06/04 10:46:11 martin Exp $
#
# Mandatory NetBSD/sparc kernel options.
@@ -12,3 +12,7 @@
options EXEC_SCRIPT # execve(2) support for scripts
options CPU_IN_CKSUM # use MD optimized cpu_in_cksum()
+
+options VMSWAP_DEFAULT_PLAINTEXT # do not encrypt swap by
+ # default (slow cpu)
+
diff -r 3437827fa12f -r 4355cc8c05c4 sys/arch/vax/conf/std.vax
--- a/sys/arch/vax/conf/std.vax Fri Jun 04 10:46:01 2021 +0000
+++ b/sys/arch/vax/conf/std.vax Fri Jun 04 10:46:11 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: std.vax,v 1.16 2005/12/11 12:19:34 christos Exp $
+# $NetBSD: std.vax,v 1.17 2021/06/04 10:46:11 martin Exp $
#
# Std vaxfiles
#
@@ -8,3 +8,7 @@
options EXEC_AOUT # execve(2) support for a.out binaries
options EXEC_SCRIPT # execve(2) support for scripts
options EXEC_ELF32 # execve(2) support for ELF32 binaries
+
+options VMSWAP_DEFAULT_PLAINTEXT # do not encrypt swap by
+ # default (slow cpu)
+
Home |
Main Index |
Thread Index |
Old Index