Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Set VMSWAP_DEFAULT_PLAINTEXT for hpcarm and hpcmips...



details:   https://anonhg.NetBSD.org/src/rev/2cd2e87a0ecd
branches:  trunk
changeset: 379905:2cd2e87a0ecd
user:      rin <rin%NetBSD.org@localhost>
date:      Sat Jun 26 09:11:31 2021 +0000

description:
Set VMSWAP_DEFAULT_PLAINTEXT for hpcarm and hpcmips, that suffer from
slow CPU as well as memory shortage.

For hpcsh, this option is already enabled by std.sh3.

diffstat:

 sys/arch/hpcarm/conf/std.hpcarm   |  5 ++++-
 sys/arch/hpcmips/conf/std.hpcmips |  5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r dea4c5b82500 -r 2cd2e87a0ecd sys/arch/hpcarm/conf/std.hpcarm
--- a/sys/arch/hpcarm/conf/std.hpcarm   Sat Jun 26 09:05:24 2021 +0000
+++ b/sys/arch/hpcarm/conf/std.hpcarm   Sat Jun 26 09:11:31 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: std.hpcarm,v 1.8 2008/01/27 12:37:12 chris Exp $
+#      $NetBSD: std.hpcarm,v 1.9 2021/06/26 09:11:31 rin Exp $
 #
 # standard NetBSD/hpcarm options
 
@@ -12,3 +12,6 @@ options       EXEC_SCRIPT
 
 # To support easy transit to ../arch/arm/arm32
 options        ARM32
+
+options        VMSWAP_DEFAULT_PLAINTEXT        # do not encrypt swap by
+                                               # default (slow cpu)
diff -r dea4c5b82500 -r 2cd2e87a0ecd sys/arch/hpcmips/conf/std.hpcmips
--- a/sys/arch/hpcmips/conf/std.hpcmips Sat Jun 26 09:05:24 2021 +0000
+++ b/sys/arch/hpcmips/conf/std.hpcmips Sat Jun 26 09:11:31 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: std.hpcmips,v 1.20 2011/02/20 07:58:13 matt Exp $
+#      $NetBSD: std.hpcmips,v 1.21 2021/06/26 09:11:31 rin Exp $
 # standard, required hpcmips info
 
 machine hpcmips mips
@@ -17,3 +17,6 @@ options       EXEC_SCRIPT             # may be unsafe
 
 makeoptions    DEFTEXTADDR="0x80001000"
 makeoptions    DEFCOPTS="-Os -mmemcpy"
+
+options        VMSWAP_DEFAULT_PLAINTEXT        # do not encrypt swap by
+                                               # default (slow cpu)



Home | Main Index | Thread Index | Old Index