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/6405c8543796
branches:  trunk
changeset: 984183:6405c8543796
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 596a49036cce -r 6405c8543796 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 @@
 
 # To support easy transit to ../arch/arm/arm32
 options        ARM32
+
+options        VMSWAP_DEFAULT_PLAINTEXT        # do not encrypt swap by
+                                               # default (slow cpu)
diff -r 596a49036cce -r 6405c8543796 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 @@
 
 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