lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210912155319.130461-1-ycliang@andestech.com>
Date:   Sun, 12 Sep 2021 15:53:19 +0000
From:   Leo Yu-Chi Liang <ycliang@...estech.com>
To:     <corbet@....net>, <src.res@...il.cn>,
        <linux-kernel@...r.kernel.org>, <linux-doc@...r.kernel.org>,
        <linux-doc-tw-discuss@...ts.sourceforge.net>
CC:     <ycliang@...nctu.edu.tw>, <ycliang@...estech.com>
Subject: [PATCH 2/2] docs/zh_TW: Add translation for riscv/vm-layout

From: Leo Yu-Chi Liang <ycliang@...nctu.edu.tw>

Add Traditional Chinese for Documentation/riscv/vm-layout.rst

Signed-off-by: Leo Yu-Chi Liang <ycliang@...nctu.edu.tw>
---
 .../translations/zh_TW/riscv/vm-layout.rst    | 67 +++++++++++++++++++
 1 file changed, 67 insertions(+)
 create mode 100644 Documentation/translations/zh_TW/riscv/vm-layout.rst

diff --git a/Documentation/translations/zh_TW/riscv/vm-layout.rst b/Documentation/translations/zh_TW/riscv/vm-layout.rst
new file mode 100644
index 000000000000..628bba3f139d
--- /dev/null
+++ b/Documentation/translations/zh_TW/riscv/vm-layout.rst
@@ -0,0 +1,67 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+.. include:: ../disclaimer-zh_TW.rst
+
+:Original: Documentation/riscv/patch-acceptance.rst
+
+:譯者:
+
+  梁育齊 Liang YuChi <ycliang@...nctu.edu.tw>
+
+=============================
+RISC-V Linux 的虛擬記憶體佈局
+=============================
+
+:Author: Alexandre Ghiti <alex@...ti.fr>
+:Date: 12 February 2021
+
+這份文件描述 RISC-V Linux 核心的虛擬記憶體佈局。
+
+32 位元 RISC-V Linux 核心
+=========================
+
+32 位元 RISC-V Linux 核心
+------------------------
+
+待完成
+
+64 位元 RISC-V Linux 核心
+=========================
+RISC-V 的特權架構文件描述 64 位元長度的位址
+"必須讓第 63-48 位都等於第 47 位,否則會發生分頁錯誤中斷。"
+而這表示有一個巨大的記憶體"孔洞"將虛擬記憶體空間分成兩半,
+下半部是使用者空間所在的位址,上半部則是 RISC-V Linux 核心所使用的位址。
+
+RISC-V Linux Kernel SV39
+------------------------
+
+::
+
+  ========================================================================================================================
+       起始位址     |   偏移量   |     終端位址     |  大小   | 虛擬記憶體區塊的描述
+  ========================================================================================================================
+                    |            |                  |         |
+   0000000000000000 |    0       | 0000003fffffffff |  256 GB | 使用者空間的虛擬記憶體,每個 mm 有各自的虛擬記憶體
+  __________________|____________|__________________|_________|___________________________________________________________
+                    |            |                  |         |
+   0000004000000000 | +256    GB | ffffffbfffffffff | ~16M TB | ... 非常大,大約是 64 位元寬的一塊非標準化的虛擬記憶體孔洞
+                    |            |                  |         |     ,從核心起始記憶體位址對映 -256 GB 偏移量的位址。
+  __________________|____________|__________________|_________|___________________________________________________________
+                                                              |
+                                                              | 核心空間的虛擬記憶體,被所有的程序所共享:
+  ____________________________________________________________|___________________________________________________________
+                    |            |                  |         |
+   ffffffc000000000 | -256    GB | ffffffc7ffffffff |   32 GB | kasan
+   ffffffcefee00000 | -196    GB | ffffffcefeffffff |    2 MB | fixmap
+   ffffffceff000000 | -196    GB | ffffffceffffffff |   16 MB | PCI io
+   ffffffcf00000000 | -196    GB | ffffffcfffffffff |    4 GB | vmemmap
+   ffffffd000000000 | -192    GB | ffffffdfffffffff |   64 GB | vmalloc/ioremap space
+   ffffffe000000000 | -128    GB | fffffffeffffffff |  124 GB | 所有實體記憶體的直接映射
+  __________________|____________|__________________|_________|____________________________________________________________
+                                                              |
+                                                              |
+  ____________________________________________________________|____________________________________________________________
+                    |            |                  |         |
+   ffffffff00000000 |   -4    GB | ffffffff7fffffff |    2 GB | 核心模組,BPF
+   ffffffff80000000 |   -2    GB | ffffffffffffffff |    2 GB | 核心
+  __________________|____________|__________________|_________|____________________________________________________________
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ