在 2022/7/19 21:04, Binbin Zhou 写道:
Translate core-api/generic-radix-tree.rst into Chinese.
Last English version used:
commit ba20ba2e3743 ("generic radix trees").
Signed-off-by: Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
Reviewed-by: Yanteng Si <siyanteng@xxxxxxxxxxx>
Thanks,
Yanteng
---
.../zh_CN/core-api/generic-radix-tree.rst | 23 +++++++++++++++++++
.../translations/zh_CN/core-api/index.rst | 2 +-
2 files changed, 24 insertions(+), 1 deletion(-)
create mode 100644 Documentation/translations/zh_CN/core-api/generic-radix-tree.rst
diff --git a/Documentation/translations/zh_CN/core-api/generic-radix-tree.rst b/Documentation/translations/zh_CN/core-api/generic-radix-tree.rst
new file mode 100644
index 000000000000..eacd1d2ebddc
--- /dev/null
+++ b/Documentation/translations/zh_CN/core-api/generic-radix-tree.rst
@@ -0,0 +1,23 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/core-api/generic-radix-tree.rst
+
+:翻译:
+
+ 周彬彬 Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
+
+===================
+通用基数树/稀疏数组
+===================
+
+通用基数树/稀疏数组的相关内容请见include/linux/generic-radix-tree.h文件中的
+“DOC: Generic radix trees/sparse arrays”。
+
+通用基数树函数
+--------------
+
+该API在以下内核代码中:
+
+include/linux/generic-radix-tree.h
diff --git a/Documentation/translations/zh_CN/core-api/index.rst b/Documentation/translations/zh_CN/core-api/index.rst
index 854b923f3b30..60f76c83a9d8 100644
--- a/Documentation/translations/zh_CN/core-api/index.rst
+++ b/Documentation/translations/zh_CN/core-api/index.rst
@@ -46,12 +46,12 @@
rbtree
idr
circular-buffers
+ generic-radix-tree
Todolist:
- generic-radix-tree
packing
bus-virt-phys-mapping
this_cpu_ops